gtk_option_menu_set_menu



Hello,

I'm porting my GTK code to GTK+ 2.4 (with deprecated flags) but I don't
know how to replace gtk_option_menu_set_menu (GTK reference guide just
says : deprecated).

Previously I used : 

     gtk_option_menu_set_menu   gtk_menu_item_set_submenu
                  |                   |
---------------      ------------        ------------
| option_menu | <--- |   menu   | <------|   menu   |
---------------      ------------        ------------

Now how I can attach my menu with my combo box ?

I took a screenshot to show the final result if it can help you.

Regards,

Stephane

Attachment: combo-menu-submenu.png
Description: PNG image



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