typedef gboolean (*ObMenuUpdateFunc)(struct _ObMenuFrame *frame,
gpointer data);
typedef void (*ObMenuExecuteFunc)(struct _ObMenuEntry *entry,
+ struct _ObMenuFrame *frame,
+ struct _ObClient *client,
guint state, gpointer data, Time time);
typedef void (*ObMenuDestroyFunc)(struct _ObMenu *menu, gpointer data);
/*! @param x is the mouse x coordinate. on return it should be the x coordinate
/* Icon shit */
gint icon_width;
gint icon_height;
+ gint icon_alpha;
RrPixel32 *icon_data;
/* Mask icon */
void menu_show(gchar *name, gint x, gint y, gint button,
struct _ObClient *client);
+gboolean menu_hide_delay_reached();
void menu_set_show_func(ObMenu *menu, ObMenuShowFunc func);
void menu_set_hide_func(ObMenu *menu, ObMenuHideFunc func);