Re: Event question
- From: Asif Raj <asif iiit net>
- To: Chris Ellec <cellec elecsysinc com>
- Cc: gtk-list gnome org
- Subject: Re: Event question
- Date: Sat, 29 Jul 2000 00:52:55 +0400 (RET)
try the following function
gtk_signal_emit_by_name
On Fri, 28 Jul 2000, Chris Ellec wrote:
> Hello,
>
> I am trying to do the following:
>
>
> on button1_clicked ( ....)
> {
>
> while (button2_not_pressed)
> {
> do something
> }
>
> }
>
>
> on button2_clicked (...)
> {
> button2_not_pressed = false
> }
>
> Where the loop is started after the user presses button1, and I want "do
> something" to run until button2 is pressed. I don't know how to make the
> button2_clicked event happen while I am in the button1 processing loop.
>
> I read the archive and the only thing approaching this was to run another
> instance of gtk_main, but then it blocks the first loop, and I want the
> do_something to keep running
>
> Thanks for your help,
>
>
> Chris.
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]