Hi Justin,

Actually, I just wrote the function from scratch. Didn't try your
implementation. Did it now. It works fine, for me on 2012 (don't have 2011
too).
To be sure my code always run, I call baseclasses with the oldstyle and
never make a use of keyword args (to be compatible with older versions of
sip).
The "super" call was mainly designed to resolve baseclasses conflicts in a
multiple inheritance case and bringing more features to the metaclass
concept.
I make a cast to QWidget, since this is something I probably do in cpp.

http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/keyword_arguments.html

jo

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to