ui/motif/menu.h

branch
newapi
changeset 416
89ad8467c39f
parent 406
0ebf9d7b23e8
child 420
28a5920bebe0
--- a/ui/motif/menu.h	Fri Dec 13 10:59:31 2024 +0100
+++ b/ui/motif/menu.h	Sun Dec 15 11:59:30 2024 +0100
@@ -36,7 +36,19 @@
 extern "C" {
 #endif
 
+typedef void(*ui_menu_add_f)(Widget, int, UiMenuItemI*, UiObject*);
+    
+void ui_create_menubar(UiObject *obj, Widget window);
+void ui_add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
 
+void add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
+void add_menuitem_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj);
+void add_menuitem_st_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
+void add_menuseparator_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
+void add_checkitem_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
+void add_radioitem_widget(Widget p, int index, UiMenuItemI *item, UiObject *obj);
+void add_checkitemnv_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
+void add_menuitem_list_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj);
 
 #ifdef	__cplusplus
 }

mercurial