Re: disabling buttons
- From: Iago Rubio <iago rubio hispalinux es>
- To: gtk-app-devel-list gnome org
- Subject: Re: disabling buttons
- Date: Tue, 02 Nov 2004 21:12:35 +0100
On Tue, 2004-11-02 at 20:42, Ian Strascina wrote:
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)...???
gtk_widget_set_sensitive( button, FALSE );
You can enable it again with:
gtk_widget_set_sensitive( button, TRUE );
--
Iago Rubio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]