Changeset 151 for trunk/foundation/class_c/nommenu.c
- Timestamp:
- Dec 10, 2006, 10:16:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/foundation/class_c/nommenu.c
r149 r151 50 50 #include "nommenu.ih" 51 51 52 NOM_Scope void NOMLINK impl_NOMMenu_appendMenuItem(NOMMenu* nomSelf, CORBA_Environment *ev) 52 53 NOM_Scope PGtkWidget NOMLINK impl_NOMMenu_getMenuHandle(NOMMenu* nomSelf, CORBA_Environment *ev) 53 54 { 54 /* NOMMenuData* nomThis=NOMMenuGetData(nomSelf); */ 55 NOMMenuData* nomThis=NOMMenuGetData(nomSelf); 55 56 57 return _pgMenuHandle; 56 58 } 57 59 … … 61 63 { 62 64 NOMMenuData* nomThis=NOMMenuGetData(nomSelf); 65 GtkWidget* menuItem; 63 66 64 67 NOMMenu_nomInit_parent(nomSelf, ev); 65 68 _pgMenuHandle=gtk_menu_new(); 69 70 /* This is only for testing... */ 71 menuItem=gtk_menu_item_new_with_label("Blabbla"); 72 gtk_widget_show(menuItem); 73 gtk_menu_shell_append(GTK_MENU_SHELL(_pgMenuHandle), menuItem); 66 74 } 67 75
Note:
See TracChangeset
for help on using the changeset viewer.