Hello, just look in the Gtkmm documentation. There it is described how to bind extra arguments to signals. Then you can refer to the binded arguments and set the action you want to take in place:
http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-binding-extra-arguments.html http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-multi-item-containers.html#sec-helloworld2 Hope it helps. Bernd Am Samstag, den 24.01.2009, 15:41 +0000 schrieb romerito campos: > Hello, everyone. > I'm trying to create a calculator. Then add some buttons and need to > know which button was pressed, to know what action to take. For > example, if the button pressed for 5 then I know that it was pressed > and store the value. > > Can anyone help? > > ______________________________________________________________________ > Notícias direto do New York Times, gols do Lance, videocassetadas e > muitos outros vídeos no MSN Videos! Confira já! > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
