Hi:

I have an application where I have many buttons (20-30) that all do the almost "same" thing. I would like to have this done without having to have different handlers for each button.

It seems to me that the easiest way to do this is to have "user-data" on each button widget that differentiates between the different buttons. However, I can't figure out how to do this easily, even when post-processing the .ui file.

Does anyone know how to get gtkbuilder (and/or glade) to put such differentiating data into button widgets? It seems like such an obvious thing to do.

Peter F. Patel-Schneider

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to