Re: Button press
- From: Paul Davis <pbd Op Net>
- To: davidgn servidor unam mx
- Cc: gtk-list gnome org
- Subject: Re: Button press
- Date: Wed, 06 Feb 2002 11:19:01 -0500
>Thank you.
>I was just thinking what would be the best way of action.
>Have the function registered on a button pressed event, and removed on a butto
>n realeased event?
>or have a gtlobal static variable set to TRUE, and the function registered on
>a button press, and have the button release set the var to FALSE? (that variab
>le would be the return fariable.
>I guess the firstone is better (more secure and less error prone), but would l
>ike to hear some advices.
globals are always a bad idea.
look at the code in gtkspinbutton.c
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]