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
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list