Re: Event question
- From: Havoc Pennington <hp redhat com>
- To: Chris Ellec <cellec elecsysinc com>
- Cc: gtk-list gnome org
- Subject: Re: Event question
- Date: 28 Jul 2000 15:05:08 -0400
Chris Ellec <cellec@elecsysinc.com> writes:
> Hello,
>
> I am trying to do the following:
>
>
> on button1_clicked ( ....)
> {
>
> while (button2_not_pressed)
> {
> do something
> }
>
> }
>
>
> on button2_clicked (...)
> {
> button2_not_pressed = false
> }
>
Add an idle function that does do_something() when the user clicks
button 1, and remove it when they click button 2.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]