Re: How to "grey out" items?


> But once the user clicks on "connect" I want all the other
> widgets (eg., text boxes, range widgets, pulldowns) to be "greyed out"
> so that you can still see values but not edit anything.

	I believe you want to make the widget not-sensitive with:

	void gtk_widget_set_sensitive(GtkWidget *widget,
                                      gboolean sensitive);

Caleb Land

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