I just tried set_resizable(True) on the dialog object and it doesn't do anything. I still don't see the minimize/maximize options.
Laurent Luce ----- Original Message ---- From: Simon van der Linden <[email protected]> To: [email protected] Sent: Wednesday, June 3, 2009 1:07:21 AM Subject: Re: [pygtk] dialog minimize/maximize icons/buttons missing On Tue, 2009-06-02 at 18:28 -0700, Laurent Luce wrote: > 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. Usually, we don't need to resize or hide dialogs imho. But if you really want to, you can set the "resizable" property to True and the buttons you were looking for will notably appear: self.dialog.set_resizable(True) -- Simon van der Linden _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
