diff options
author | rhp <rhp> | 2001-06-23 05:49:35 +0000 |
---|---|---|
committer | rhp <rhp> | 2001-06-23 05:49:35 +0000 |
commit | bf64e719a1fea9e99b737b11771a41272c2e881e (patch) | |
tree | f2536630b810b36d7905f78a4720523df8c7b328 /src/menu.h | |
parent | 7ecf21af703d22f2975d7926e71fb453176e4271 (diff) | |
download | metacity-bf64e719a1fea9e99b737b11771a41272c2e881e.tar.gz metacity-bf64e719a1fea9e99b737b11771a41272c2e881e.tar.bz2 |
...
Diffstat (limited to 'src/menu.h')
-rw-r--r-- | src/menu.h | 33 |
1 files changed, 25 insertions, 8 deletions
@@ -25,14 +25,31 @@ #include <gtk/gtk.h> #include "frames.h" -void meta_window_menu_show (MetaFrames *frames, - MetaUIFrame *frame, - int root_x, - int root_y, - int button, - guint32 timestamp); - - +struct _MetaWindowMenu +{ + MetaFrames *frames; + Window client_xwindow; + GtkWidget *menu; + MetaWindowMenuFunc func; + gpointer data; + MetaMenuOp ops; + MetaMenuOp insensitive; +}; + +MetaWindowMenu* meta_window_menu_new (MetaFrames *frames, + MetaMenuOp ops, + MetaMenuOp insensitive, + Window client_xwindow, + int active_workspace, + int n_workspaces, + MetaWindowMenuFunc func, + gpointer data); +void meta_window_menu_popup (MetaWindowMenu *menu, + int root_x, + int root_y, + int button, + guint32 timestamp); +void meta_window_menu_free (MetaWindowMenu *menu); #endif |