[Gtk-sharp-list] How to enable or disable a button
Thu, 12 Aug 2004 17:59:55 -0400
On Fri, 2004-13-08 at 00:05 +0000, Raúl Moratalla wrote:
> Mike Kestner escribió:
> > On Thu, 2004-08-12 at 18:07, Raúl Moratalla wrote:
> >>Hi, this is a very easy question: how can I enable or disable a button?
> >>I made the following for disable a button nad it works perfect:
> >>btnBeginSearch.State = Gtk.StateType.Insensitive;
> > Try the Sensitive property.
> Hi Mike, there is no Sensitive property :(
> Description=`Gtk.StateType' does not contain a definition for
> I tried all the other states but they didn't work. Any idea?
He means on Gtk.Widget. so it would be:
btnBeginSearch.Sensitive = false or true.
Don't use StateType like that.