register_gui
Last updated
Last updated
Register interest in a graphical user interface.
Register one or more Python packages with the following interface, and surrounding Pyblish projects may utilise them where needed. Such as in file menu of the Autodesk Maya integration.
Interface
Multiple GUIs may be registered, it is up to the consumer of the registered GUIs to determine which to use and how. The design intent is to enable registration of a series of default GUIs, along with custom or bespoke ones.
Here is the basic structure expected by the register_gui
function.
__init__.py
Once the package is on your PYTHONPATH
, you may register it like so.
{{ file.mtime }}
Source
Added
1.4.1
Output
Method
register_gui(str)
deregister_gui(str)