Re: [pygtk] dialog minimize/maximize icons/buttons missing

2009-06-03 Thread Laurent Luce
I found a way to create a window and add a scrolled window inside: # create window win = gtk.Window() # create vertical box to contain the scrolled window vbox = gtk.VBox() # create the scrolled window scrolled_window = gtk.ScrolledWindow() # add the scrolled window to the vertical box vbox.pack_s

Re: [pygtk] How can I modify widgets from a forked process?

2009-06-03 Thread Jim Niz
As I have been reading more on fork(), I do indeed realize that my application of it was incorrect and rather hackish. I have a timer program that will display a notification after a certain amount of time has passed. While the timer is counting down in the background, I want the GTK main loop to

[pygtk] TreeViewColumn custom gtk.Entry header widget inactive after column is dragged

2009-06-03 Thread Daniel Lipovetsky
Hi everyone, I'm really impressed by the flexibility of GTK, especially by the ease of adding a gtk.Entry widget to a gtk.TreeViewColumn. However, I'm having trouble understanding why, when I enable column drag-drop reordering (by calling set_reorderable(True) in an instance of gtk.TreeViewColumn)

Re: [pygtk] dialog minimize/maximize icons/buttons missing

2009-06-03 Thread Laurent Luce
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 To: pygtk@daa.com.au Sent: Wednesday, June 3, 2009 1:07:21 AM Subject: Re: [pygtk] dialog min

Re: [pygtk] dialog minimize/maximize icons/buttons missing

2009-06-03 Thread Laurent Luce
I agree with you Simon that we shouldn't resize dialogs. The issue I have is that I didn't find a way to insert the scroll window object inside a window object. If I replace the dialog object by a window object and call vbox.pack_start() function then it throws an error. What would be the solu

[pygtk] Adding menu items at runtime

2009-06-03 Thread Johannes Bauer
Hello list, I have a Pyton application which reads in some plugins and needs to add items to a "plugins" menu accordingly at runtime. Now I expected to to a builder/get for the MenuItem parent entry and then use "add" (as MenuItem inherits from Bin). But - weird: Although in the glade-File I see

Re: [pygtk] dialog minimize/maximize icons/buttons missing

2009-06-03 Thread Simon van der Linden
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.windo