Event question
- From: Chris Ellec <cellec elecsysinc com>
- To: gtk-list gnome org
- Subject: Event question
- Date: Fri, 28 Jul 2000 18:18:23 +0000
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]