self._window.setDockableParameters( dockable=True, x=x_pos, y=y_pos, allowedArea='left', area='left' )
# Check if window is docked or not
if not self._window.isFloating():
"""
Details for `raise_()`:
Raises the widget to the top. Will raise the parent widget if it is a QDockWidget. Overrides standard QWidget.raise_() """
self._window.raise_()
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c16baaee-c571-491f-91bb-f2312ac31650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da4muqVdO%3DfsCTgJhpG5j%2B5UjFZeptjrW%2BPE-Z_pfnTZBw%40mail.gmail.com.
I am implementing some new functions in this tools that was previously written by someone, and I would not want to break any of its code if possible as this tool comprises of several scripts.
Even so, is there a way that I can get by with using the mixin class?
@Phil, wondering if you could kindly provide me a simple example for the hack that you mention of?