diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-28 17:32:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-28 17:32:49 +0000 |
| commit | ec9dd7fdd7531d2ca951a0b812bf8e63b6e9a377 (patch) | |
| tree | 416dba2692ec7ef0605a60b6fc032faca4605d00 /openbox/menu.h | |
| parent | fb035e4b0f91fa68a833f681f1f7bd7c71325bdb (diff) | |
new method for loading menu files etc
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/openbox/menu.h b/openbox/menu.h index 74519343..4780bda0 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -93,7 +93,7 @@ void menu_shutdown(); void menu_parse(); -gboolean menu_new(gchar *name, gchar *title, gpointer data); +ObMenu* menu_new(gchar *name, gchar *title, gpointer data); void menu_free(gchar *name); gboolean menu_open_plugin(ObParseInst *i, gchar *name, gchar *plugin); @@ -106,9 +106,10 @@ void menu_show(gchar *name, gint x, gint y, struct _ObClient *client); /* functions for building menus */ void menu_clear_entries(gchar *name); -void menu_add_normal(gchar *name, gint id, gchar *label, GSList *actions); -void menu_add_submenu(gchar *name, gint id, gchar *submenu); -void menu_add_separator(gchar *name, gint id); +ObMenuEntry* menu_add_normal(gchar *name, gint id, gchar *label, + GSList *actions); +ObMenuEntry* menu_add_submenu(gchar *name, gint id, gchar *submenu); +ObMenuEntry* menu_add_separator(gchar *name, gint id); ObMenuEntry* menu_find_entry_id(ObMenu *self, gint id); |
