Re: [gtk-list] Re: Possible to "ghost" menu items?
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Possible to "ghost" menu items?
- Date: Wed, 13 May 1998 19:43:59 -0400 (EDT)
On Wed, 13 May 1998, Federico Mena Quintero wrote:
> > Is it possible to "ghost" a menu item in a menu so it can not be chosen? I
> > want to temporarily disable menu items if there are no active selections in
> > a list.
>
> Yes, just unset the menu item's sensitivity:
>
> gtk_widget_set_sensitive (my_menu_item, FALSE);
This seems to trip lots of folks up (myself included). I suspect that this
call should be mentioned in the gtkmenuitem.h header.
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]