[pygtk] dialog minimize/maximize icons/buttons missing
Laurent Luce
laurentluce49 at yahoo.com
Wed Jun 3 09:28:37 WST 2009
I created a dialog with a scrolled window inside:
self.dialog = gtk.Dialog()
self.dialog.set_title("Test")
self.dialog.set_size_request(600, 300)
self.window = gtk.ScrolledWindow()
self.window.set_border_width(10)
self.window.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS)
self.dialog.vbox.pack_start(self.window, True, True, 0)
self.window.show()
self.dialog.show_all()
The dialog shows up fine with the scrolled window inside. The issue is that I don't see the minimize/maximize icons at the top right corner of the dialog.
I tried to use set_decorated(True) with no luck.
I have the same issue under Linux and Windows.
Laurent
More information about the pygtk
mailing list