main

jukeboxmaya.gui.main.wrap_maya_ui(mayaname)[source]

Given the name of a Maya UI element of any type, return the corresponding QWidget or QAction. If the object does not exist, returns None

Parameters:mayaname (str) – the maya ui element
Returns:the wraped object
Return type:QObject | None
Raises:None
jukeboxmaya.gui.main.maya_main_window()[source]

Return the QtGui.QMainWindow instance of the Maya main window or None

Returns:The maya main window or none
Return type:QtGui.QMainWindow | None
Raises:None