On Sun Jul 20 20:54:12 BST 2008, Strato wrote: > I need to call the raise() method of the QWSWindow class, to set an > application to show up on top of other windows, but of course, 'raise' > is a python reserved keyword, and the call lead to a "Invalid syntax > error". > > So, does anybody have a workaround ? any idea of how to figure this out ?
Call its raise_() method instead: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwidget.html#raise All the Qt functions that shadow Python's keywords, like raise and exec, are represented by Python methods with trailing underscores, like raise_() and exec_(). David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
