[Gtk-sharp-list] How to enable or disable a button

Raúl Moratalla raul.moratalla@ono.com
Fri, 13 Aug 2004 00:05:07 +0000


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 
`Sensitive'(CS0117)

I tried all the other states but they didn't work. Any idea?

Regards,

Raúl