RE: [gtk-list] Re: Sub menus



Fredrick,
	Thanks, it seems like I had them reversed. Duh :)

Bill

> -----Original Message-----
> From:	Federico Mena Quintero [SMTP:federico@nuclecu.unam.mx]
> Sent:	Tuesday, June 30, 1998 7:22 PM
> To:	BBUCH@JERRY.hqm.com
> Subject:	[gtk-list] Re: Sub menus
> 
> >  Anyone have any ideas on how to create a submenu off of a menu.  I
> got
> >  the litle arrow to indicate that I have a submenu, but nothing
> shows up.
> >  Thanks in advance.
> 
> Try this:
> 
>     GtkMenuItem *menu_item;
>     GtkMenu *submenu;
> 
>     ... build menu_item and submenu ...
> 
>     gtk_menu_item_set_submenu (menu_item, GTK_WIDGET (submenu));
> 
>   Federico
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
> /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]