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

Mike Kestner mkestner@ximian.com
Thu, 12 Aug 2004 16:22:53 -0500


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.

-- 
Mike Kestner <mkestner@ximian.com>