How get more than one event with one button click.



  Hi folks!. Happy 2003.

  I have a question for you: i got learn how do "an event" with the click of a
button. Now i want to know if with a simple click i can get different things 
(change a label, hide another component....) or is needed another clicks for 
different events?.

  For example, i am trying this:

buton = gtk_button_new_with_label("Accept");
gtk_signal_connect(GTK_OBJECT(buton), "clicked", GTK_SIGNAL_FUNC(function1), NULL);
gtk_signal_connect(GTK_OBJECT(buton), "clicked", GTK_SIGNAL_FUNC(function2), NULL);

  Is this correct?.

  Thanks you, very much, for your attention, in advance.

  Regards.

  Jose.


http://linuxespana.scripterz.org

Debian GNU/Linux 'Sid' Kernel 2.5.53 Ext3.
ESware Linux 365 Kernel 2.5.49 ReiserFS.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.

_____________________________________________________________
Get your own free tiggerfan.com email address!!
DisneySites!! - http://www.disneysites.com/webmail/tiggerfan

_____________________________________________________________
Select your own custom email address for FREE! Get you yourchoice com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]