Re: [gtk-list] How to make widgets inactive??



On Mon, 28 Dec 1998 Robert_Gasch/PeopleSoft@peoplesoft.com wrote:
> How do I make a widget inactive? What I'm thinking of is that a menu
> item (or button) can be active/selectable or inactive (not selectable). For
> example, you should not be able to select 'Paste' unless you've already
> 'Copy'ied. Does Gtk support this? If anybody could fill me in on the
> details,

	gtk_widget_set_sensitive(widget, FALSE);

Nigel Gamble                                    nigel@nrg.org
Mountain View, CA, USA.                         http://www.nrg.org/



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