[pygtk] Best way to sort GtkCList?

2000-06-20 Thread Harry Henry Gebel
I have a GtkCList which may contain several thousand (sorted) records when initialized, which is more efficient: To insert the entire set of records and then run GtkClist.sort(), or to call GtkCList.set_auto_sort() before adding any records and allow them to be sorted one by one. The GtkCList I am

Re: [pygtk] GtkRadioMenuItem and libglade

2000-06-20 Thread Harry Henry Gebel
> Did you ever get an answer to your question (to the pygtk mailing > list) concerning libglade and GtkRadioMenuItems? I'm having the > same problem now. It's weird that you asked me this morning, I just figured out a way to do it last night (I am just learning GTK so this may not be the most ef

Re: [pygtk] GtkRadioMenuItem and libglade

2000-06-20 Thread Mitch Chapman
libglade 0.13 does nothing with the "group" attribute of radio menu items, so every GtkRadioMenuItem ends up in its own group. Fortunately, libglade *does* honor the group attribute for GtkRadioButtons. Using the code in glade-gtk.c\radiobutton_new() as an example, I was able to come up with (ok

Re: [pygtk] key_release trouble

2000-06-20 Thread James Henstridge
On Tue, 20 Jun 2000, Bellamy Bruno wrote: > Hi there... > > I'm trying to catch the key_release event in a GtkText, so I had to > use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). > But it seems to work only after I start by clicking in > the GtkText with the mouse. Otherwise, no key_release eve

Re: [pygtk] key_release trouble

2000-06-20 Thread Matt Wilson
Add: mygthtext.set_events (KEY_RELEASE_MASK) Matt On Tue, Jun 20, 2000 at 11:38:50AM +0200, Bellamy Bruno wrote: > Hi there... > > I'm trying to catch the key_release event in a GtkText, so I had to > use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). > But it seems to work only after I

[pygtk] key_release trouble

2000-06-20 Thread Bellamy Bruno
Hi there... I'm trying to catch the key_release event in a GtkText, so I had to use a mygtktext.add_events(GDK.KEY_RELEASE_MASK). But it seems to work only after I start by clicking in the GtkText with the mouse. Otherwise, no key_release event is detected. The problem is that I wanted to avoid

Re: [pygtk] pygtk 0.7.0 on AIX

2000-06-20 Thread James Henstridge
On Tue, 20 Jun 2000, Aaron Optimizer Digulla wrote: > > Ok, a bit late but nonetheless: pygtk 0.6.6 and 0.7.0 don't work on AIX > anymore. There are several reasons for this: > > 1. The names of the files are wrong. pygtk creates lib.so.0 which > python cannot find. The name must either be .so

[pygtk] pygtk 0.7.0 on AIX

2000-06-20 Thread Aaron Optimizer Digulla
Ok, a bit late but nonetheless: pygtk 0.6.6 and 0.7.0 don't work on AIX anymore. There are several reasons for this: 1. The names of the files are wrong. pygtk creates lib.so.0 which python cannot find. The name must either be .so or module.so. 2. AIX cannot link several shared libraries at the

Re: [pygtk] New snapshot

2000-06-20 Thread Aaron Optimizer Digulla
Quoting James Henstridge <[EMAIL PROTECTED]>: > I have been wondering if it is worth stabilising the extension class > branch and releasing it as a new version for use with gtk-1.2 (which > would > also mean converting over the rest of gnome-python), or go straight on > to > port to gtk-1.3/4. D