Re: Greying out menu options

On Fri, Aug 20, 1999 at 05:22:59PM +0000, Rhys Weatherley wrote:
> Anyway, the dumb question: how does one go about greying out a menu option or a 
> toolbar button that is not active at present?  I've searched the examples and 
> the code for some of the applications, and can't find a good concrete demo of 
> how to do it in the correct GNOME-ish way.

gtk_widget_set_sensitive (GTK_WIDGET (widget), FALSE);

Ian Peters  | GnuPG Key ID 5C23D20C    | "They shout about love but when push | E584 2558 FAC3 BEAB EFAC |  comes to shove, they live for things | FC74 CFED 7E24 5C23 D20C |  they're afraid of." -- Neal Peart

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