| 41 |
41 |
| 42 UIMENU ui_create_menu(UiMenuBuilder *builder, UiObject *obj); |
42 UIMENU ui_create_menu(UiMenuBuilder *builder, UiObject *obj); |
| 43 void ui_widget_set_contextmenu(GtkWidget *widget, UIMENU menu); |
43 void ui_widget_set_contextmenu(GtkWidget *widget, UIMENU menu); |
| 44 |
44 |
| 45 GtkWidget *ui_create_menubar(UiObject *obj); |
45 GtkWidget *ui_create_menubar(UiObject *obj); |
| |
46 |
| |
47 typedef struct UiContextMenuPopupCallback { |
| |
48 /* this callback will be called without an event ptr */ |
| |
49 ui_callback callback; |
| |
50 void *userdata; |
| |
51 } UiContextMenuPopupCallback; |
| 46 |
52 |
| 47 #if GTK_MAJOR_VERSION <= 3 |
53 #if GTK_MAJOR_VERSION <= 3 |
| 48 |
54 |
| 49 typedef struct UiActiveMenuItemList UiActiveMenuItemList; |
55 typedef struct UiActiveMenuItemList UiActiveMenuItemList; |
| 50 |
56 |