Re: gnome menubar w/ toggle or radio items
- From: Andy Kahn <kahn zk3 dec com>
- To: Havoc Pennington <hp Mcs Net>
- Cc: Andy Kahn <kahn zk3 dec com>, gnome-list gnome org
- Subject: Re: gnome menubar w/ toggle or radio items
- Date: Sat, 13 Feb 1999 09:30:19 -0500
On Fri, Feb 12, 1999 at 11:24:25PM -0600, Havoc Pennington wrote:
...
>
> Just copy the widget part. i.e. make a place to put pointers to your
> radio/toggle items; then copy whatever_menu[whatever_index].widget
> to that place. main_menu[index].widget will have menu items for the
> submenus, that probably isn't what you want.
>
> There are lots of ways to do it; you could have an array of GtkWidget*
> corresponding to the menu and indexed by enum, or you could have a
> separate named GtkWidget* for each menu item, or whatever.
>
yup, this does the trick! and it's certainly a lot better than trying
to get to the widgets through the gnome menubar.
thanks!
--andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]