On Thu, 2004-06-10 at 22:10, ext Juhana Sadeharju wrote: > >From: Bobby King <bking321@xxxxxxxxxxx> > > > >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@xxxxxxxxx> _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list