Re: [pygtk] liststore using glade3, gtkbuilder, and the glade designer

2009-07-15 Thread Stephen George
Hi Jon Have you added any renderers to the treeview cell? A snippet of my program where I had the same problem (empty lines) with a combo box until I added the renderer self.builder = gtk.Builder() self.builder.add_from_file('app.glade') self.window = self.builder.get_ob

Re: [pygtk] warnings from dialog.run in pygtk2-2.14.1

2009-07-15 Thread John Finlay
On 07/15/2009 01:09 AM, Chris Rouch wrote: > Hi, > > I recently upgraded to Fedora 11. Since then every pygtk program I > have has started to produce a warning when dialog.run() is called: > > ./tmp.py:12: GtkWarning: gdk_x11_atom_to_xatom_for_display: assertion > `atom != GDK_NONE' failed > resp

Re: [pygtk] Takes two Ctl-C to kill?

2009-07-15 Thread David Ripton
On 2009.07.15 09:49:01 -0500, s...@pobox.com wrote: > We have an admittedly odd setup at work, but I thought I'd ask here first... > If you have a multithreaded PyGtk application and kill it with Ctl-C does it > require one or two Ctl-C's to do the deed? We are seeing two (using pygtk > 2.12). I

[pygtk] Takes two Ctl-C to kill?

2009-07-15 Thread skip
We have an admittedly odd setup at work, but I thought I'd ask here first... If you have a multithreaded PyGtk application and kill it with Ctl-C does it require one or two Ctl-C's to do the deed? We are seeing two (using pygtk 2.12). I sort of assume we are doing something wrong, swallowing the

Re: [pygtk] what key is pressend, key-press-event

2009-07-15 Thread Walter Leibbrandt
nohics nohics wrote: > I found it, I think that we have to do check the string value returned by: > gtk.gdk.keyval_name(event.keyval) Or you can compare event.keyval to the constants defined in gtk.keysyms. To test for modifiers like control and alt, you can test the set bits in event.state accord

[pygtk] warnings from dialog.run in pygtk2-2.14.1

2009-07-15 Thread Chris Rouch
Hi, I recently upgraded to Fedora 11. Since then every pygtk program I have has started to produce a warning when dialog.run() is called: ./tmp.py:12: GtkWarning: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed response=dialog.run() A very simple example is: #!/usr/bin/

Re: [pygtk] how to associate a button press event on gtk.CellRenderer cell

2009-07-15 Thread Alessandro Dentella
> Well the first reference seems to be of no use . I have a sneeky > feeling second would have been of use :( > > Some algorithmic help would be of great use as i do not understand the > gtk architecture very well . I am only beginning to learn pygtk. well... if you think so, go ahead and read t