Re: Show and Hide Menu Items
- From: Tommi Komulainen <tommi komulainen nokia com>
- To: ext Juhana Sadeharju <kouhia nic funet fi>
- Cc: gtk-devel-list gnome org, bking321 charter net, gtk-list gnome org
- Subject: Re: Show and Hide Menu Items
- Date: Fri, 11 Jun 2004 11:08:43 +0300
On Thu, 2004-06-10 at 22:10, ext Juhana Sadeharju wrote:
> >From: Bobby King <bking321 charter net>
> >
> >How does one show and hide menu items? At various states of an
> >application, I want only a specific subset of menu items to be visible
> >(accessible). Each state is entered by selecting a specific menu item.
>
> That must be a hard problem because I have not seen a good solution to
> it. Until I come up with an elegant solution, I don't waste time
> for writing messy code like others.
"All actions that would make sense to use in a particular context should
be in a single group."
gtk_action_group_set_visible () (haven't tried it personally, but looks
reasonable.)
--
Tommi Komulainen <tommi komulainen nokia com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]