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

Re:the correct way to do pop up menus?




On Sat, 7 Aug 1999, Emile Snyder wrote:
> 
> * Toggle buttons in a menu item.  I tried gtk_menu_item_configure(1,0) to
> set the toggle visiblity on, but it didn't do anything.  How do I do this?
>

You probably want gtk_check_menu_item_new[_with_label]()
 
> * How do you make a separator item?
> 

Call gtk_menu_item_new() then never add a child widget to it. Yes, this is
the most obscure API ever. :-)

Havoc




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