Re: signs of buttons



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 <romerito campos hotmail com> 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á!

_______________________________________________
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]