Re: gnome menubar w/ toggle or radio items



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]