- gboolean shown;
- gboolean invalid;
-
- ObMenu *parent;
-
- ObMenu *open_submenu;
-
- /* place a menu on screen */
- menu_controller_show show;
- void (*hide)( /* some bummu */);
-
- /* render a menu */
- menu_controller_update update;
- menu_controller_mouseover mouseover;
- void (*selected)( /* some bummu */);
-
-
- /* render stuff */
- struct _ObClient *client;
- Window frame;
- Window title;
- RrAppearance *a_title;
- gint title_min_w, title_h;
- Window items;
- RrAppearance *a_items;
- gint bullet_w;
- gint item_h;
- Point location;
- Size size;
- guint xin_area; /* index of the xinerama head/area */
-
- /* plugin stuff */
- char *plugin;
- void *plugin_data;
+ /* plugin data */
+ gpointer data;
+
+ ObMenuUpdateFunc update_func;
+ ObMenuExecuteFunc execute_func;
+ ObMenuDestroyFunc destroy_func;