bgdev.tools.toolbar.tabs.maya.main

Maya toolbar override.

created

14/10/2018

author

Benoit GIELLY <benoit.gielly@gmail.com>

dock_widget(widget, title='DockWindow', area='right', floating=False)[source]

Dock the given widget properly for both M2016 and 2017+.

get_workspaces(**kwargs)[source]

Get Maya workspaces (WIP).

maya_window()[source]

Return the MayaWindow if in Maya else None.

show(*args, **kwargs)[source]

Show the widget within a maya workspaceControl.

to_qwidget(ctrl)[source]

Convert a Maya widget to a PySide2 QWidget.

Parameters

ctrl (str) – Name of the maya widget as a string.

Returns

QWidget instance object of the given widget.

Return type

QtWidgets.QWidget