parameters: (func : Callable)
docstring: Tells the next created window/dialog to use a custom UI function. Only
      available in PyQT mode.
  
      This is used to build custom editors and windows that are compatible with
      other UI functionality.  
  
      Args:
          func (function): a 1-argument function that takes a configured Klamp't 
              QtWindow as its argument and returns a QDialog, QMainWindow, or
              QWidget.
  
      (Could also be used with GLUT, but what would you do with a GLUTWindow?)
docstring_summary: Tells the next created window/dialog to use a custom UI function. Only
      available in PyQT mode.
docstring_tokens: Tells the next created window / dialog to use a custom UI function . Only available in PyQT mode .
function: def customUI(func : Callable) -> None:
      """Tells the next created window/dialog to use a custom UI function. Only
      available in PyQT mode.
  
      This is used to build custom editors and windows that are compatible with
      other UI functionality.  
  
      Args:
          func (function): a 1-argument function that takes a configured Klamp't 
              QtWindow as its argument and returns a QDialog, QMainWindow, or
              QWidget.
  
      (Could also be used with GLUT, but what would you do with a GLUTWindow?)
      """
      global _globalLock,_window_manager
      _init()
      with _globalLock:
          _window_manager.set_custom_ui(func)
function_tokens: def customUI ( func : Callable ) -> None : global _globalLock , _window_manager _init ( ) with _globalLock : _window_manager . set_custom_ui ( func )