Re: disabling buttons
- From: Sven Neumann <sven gimp org>
- To: Ian Strascina <istrasci cs nmsu edu>
- Cc: gtk-list gnome org
- Subject: Re: disabling buttons
- Date: Tue, 02 Nov 2004 20:55:03 +0100
Hi,
Ian Strascina <istrasci cs nmsu edu> writes:
> Is there anyway to disable a GTK button once it has been pressed (and
> re-enabled upon other conditions) similar to
> javax.swing.AbstractButton.setEnabled(boolean)...??? I have a
> simulation running and one button that starts it all... I would like
> to ensure the "start" button cannot be pressed while the simulation is
> running... Is there any way to do this...???
gtk_widget_set_sensitive (button, FALSE);
Cross-posting such a question to three mailing-lists is somewhat silly
though.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]