Re: signs of buttons
- From: Bernd Robertz <bernd robertz cssweb de>
- To: romerito campos <romerito campos hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: signs of buttons
- Date: Sat, 24 Jan 2009 16:56:43 +0100
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
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]