Re: How get more than one event with one button click.



--- Jose Luis Alarcon <jlalarcon tiggerfan com> wrote:
>  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.
>

  Ok, i was reading, and now i know that one button click can do more than one
thing. Well... one more thing that i learn today. But there are something for
what i can't find answer:

  How can get clean the text of a Text Widget with a click of a button?

  I was reading time after time the Gale-Main tutorial, but i'm unable to find
an answer.

  You are very kind, thank you very much, 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]