ui/motif/menu.h

branch
newapi
changeset 416
89ad8467c39f
parent 406
0ebf9d7b23e8
child 420
28a5920bebe0
equal deleted inserted replaced
415:e35cdf33998c 416:89ad8467c39f
34 34
35 #ifdef __cplusplus 35 #ifdef __cplusplus
36 extern "C" { 36 extern "C" {
37 #endif 37 #endif
38 38
39 typedef void(*ui_menu_add_f)(Widget, int, UiMenuItemI*, UiObject*);
40
41 void ui_create_menubar(UiObject *obj, Widget window);
42 void ui_add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
39 43
44 void add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
45 void add_menuitem_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
46 void add_menuitem_st_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
47 void add_menuseparator_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
48 void add_checkitem_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
49 void add_radioitem_widget(Widget p, int index, UiMenuItemI *item, UiObject *obj);
50 void add_checkitemnv_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
51 void add_menuitem_list_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
40 52
41 #ifdef __cplusplus 53 #ifdef __cplusplus
42 } 54 }
43 #endif 55 #endif
44 56

mercurial