Hello Romeirto,

Look at this: http://www.pebble.org.uk/programming/libglademm_simple

You may not use glade to build the UI, but this example still provides an
idea to solve your problem.

Look at the functions: 'link_buttun' and 'button_pressed'

Hope it helps.



On Sun, Jan 25, 2009 at 2:41 AM, romerito campos <
[email protected]> wrote:

>  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á! <http://video.msn.com/?mkt=pt-br>
>
> _______________________________________________
> 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

Reply via email to