Re: [pygtk] get_selection

2000-08-08 Thread Martin Franklin
Hi root! I had this problem the other day and came up with BTW i'm using a Clist... ...cut... self.selected=[] self.clist = GtkCList(3,['One','Two', 'Three'] ) self.clist.connect("select_row", self.select_list) self.clist.connect("unselect_row",

Re: [pygtk] get_selection

2000-08-08 Thread Aaron Optimizer Digulla
Quoting Martin Franklin [EMAIL PROTECTED]: I had this problem the other day and came up with BTW i'm using a Clist... ...cut... self.selected=[] self.clist = GtkCList(3,['One','Two', 'Three'] ) self.clist.connect("select_row", self.select_list)

Re: [pygtk] get_selection

2000-08-08 Thread Javi Roman
A solution would be that, but then it is not possible to obtain the label of an element of GtkList? ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] get_selection

2000-08-08 Thread Martin Franklin
Aaron, Thanks for the code reduction (10 to 1!!) Martin. Aaron Optimizer Digulla wrote: Quoting Martin Franklin [EMAIL PROTECTED]: I had this problem the other day and came up with BTW i'm using a Clist... ...cut... self.selected=[] self.clist =

Re: [pygtk] get_selection

2000-08-08 Thread Javi Roman
Good, that seems that it works, but I talk about to a GtkList and not a GtkCList. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] get_selection

2000-08-08 Thread James Henstridge
On Tue, 8 Aug 2000, Javi Roman wrote: Good, that seems that it works, but I talk about to a GtkList and not a GtkCList. Note that in almost all cases it is better to use a CList than a GtkList. If you are going to have a substantial number of rows, then CList will handle it a lot better (if

Re: [pygtk] get_selection

2000-08-08 Thread Aaron Optimizer Digulla
Quoting Javi Roman [EMAIL PROTECTED]: Good, that seems that it works, but I talk about to a GtkList and not a GtkCList. Two possible solutions: - Use a CList instead - Try to apply what you now know about the CList :-) I guess the behaviour is pretty much the same but you have to use

Re: [pygtk] problem with ong image

2000-08-08 Thread James Henstridge
On Tue, 8 Aug 2000, Torsten Landschoff wrote: On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote: This problem can be fixed by either modifying the python executable or the imlib build process. You either need to modify imlib so that the image loading modules link

Re: [pygtk] problem with ong image

2000-08-08 Thread James Henstridge
On Tue, 8 Aug 2000, Torsten Landschoff wrote: On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote: This problem can be fixed by either modifying the python executable or the imlib build process. You either need to modify imlib so that the image loading modules link