Re: disabling buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ian Strascina <istrasci@xxxxxxxxxxx> 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux