On 09/12/10 19:33, Hugo Leveille wrote:
I have a mainwindow that I would like to remove the resize handle on the bottom 
right so that the window is not resizable.

you can remove the resize handle with:

    mainwindow.statusBar().setSizeGripEnabled(False)

but that won't make the window unresizable.

to do that you could simply set the window to a fixed size:

    mainwindow.setFixedSize(600, 400)
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to