On 10/07/13 15:45, Daria Polyakova wrote:
How can I get QT object (widget) of main nuke's window at start up?For
example if I want to change the interface, or assign a callback.
There isn't an easy way to do this, currently.. There was discussion of
this recently ("Re: [Nuke-python] Getting mouse cursor location in DAG?")
You can probably do this by recursing down the children of each
PySide.QtGui.QApplication.topLevelWidgets() and guessing which widget is
the one you are after, e.g:
https://gist.github.com/dbr/5167728
However you should be able to do lots without resorting to Qt for
customisation - is there something specific you are trying to do?
--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python