Disable close button in management window.(KDE- pyQT)

David Boddie david at boddie.org.uk
Mon Aug 21 13:23:41 EDT 2006


Gabriel - BR wrote: > HI, > I am talking about the close button "X",
that appears when I execute > my application (pyQt), in kde.
Initially, I thought this might be possible with PyQt, just by setting
the appropriate window flags when you create a widget, or with the
setWFlags() method afterwards:
http://doc.trolltech.com/3.3/qwidget.html#QWidget   However, these
flags are only hints to the window system, and you may only be able to
remove the close button by removing the entire window title.   David




More information about the Python-list mailing list