Re: Greying out menu options
- From: Ian Peters <itp gnu org>
- To: Rhys Weatherley <rweather liberate com>
- Cc: gnome-devel-list gnome org
- Subject: Re: Greying out menu options
- Date: Fri, 20 Aug 1999 13:26:16 -0400
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
itp@gnu.org | E584 2558 FAC3 BEAB EFAC | comes to shove, they live for things
itp@acm.org | 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]