Re: many buttons, one handler with gtkbuilder

2009-01-21 Thread Peter F. Patel-Schneider
Tristan Van Berkom wrote: On Tue, Jan 20, 2009 at 7:27 AM, Peter F. Patel-Schneider p...@verizon.net wrote: [...] As I expected, I guess, but it sure would be nice to be able to easily build objects or handlers that have extra information in them in the form of integers or strings. Just

Re: many buttons, one handler with gtkbuilder

2009-01-21 Thread Tristan Van Berkom
On Wed, Jan 21, 2009 at 1:19 PM, Peter F. Patel-Schneider p...@verizon.net wrote: [...] Actually a more general solution would be to allow glade/gtkbuilder to add properties to widget classes. I don't know whether this would fly. Glade lets you add properties and save them to the glade file,

Re: many buttons, one handler with gtkbuilder

2009-01-20 Thread Tristan Van Berkom
On Tue, Jan 20, 2009 at 7:27 AM, Peter F. Patel-Schneider p...@verizon.net wrote: [...] As I expected, I guess, but it sure would be nice to be able to easily build objects or handlers that have extra information in them in the form of integers or strings. Just being able to initialize the