summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-08-19 06:23:59 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-19 06:23:59 +0000
commitf70993be97dcd7f7a656723185243c323451c1fa (patch)
treee90e0d03c4f6f4fbd4e543f6aa584c180f3cb3e1 /src/ui.h
parent92a965b979c2f2f48b7553d326d10fb56b69d8ce (diff)
downloadmetacity-f70993be97dcd7f7a656723185243c323451c1fa.tar.gz
metacity-f70993be97dcd7f7a656723185243c323451c1fa.tar.bz2
add prototype thingy to display windows we're cycling through with tab.
2001-08-19 Havoc Pennington <hp@pobox.com> * src/tabpopup.c: add prototype thingy to display windows we're cycling through with tab. Not wired up to keybindings yet.
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index de9e549..b7df976 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -117,5 +117,26 @@ GdkPixbuf* meta_gdk_pixbuf_get_from_window (GdkPixbuf *dest,
void meta_ui_push_delay_exposes (MetaUI *ui);
void meta_ui_pop_delay_exposes (MetaUI *ui);
+typedef struct _MetaTabEntry MetaTabEntry;
+typedef struct _MetaTabPopup MetaTabPopup;
+
+struct _MetaTabEntry
+{
+ Window xwindow;
+ const char *title;
+ GdkPixbuf *icon;
+};
+
+MetaTabPopup* meta_ui_tab_popup_new (const MetaTabEntry *entries);
+void meta_ui_tab_popup_free (MetaTabPopup *popup);
+void meta_ui_tab_popup_set_showing (MetaTabPopup *popup,
+ gboolean showing);
+void meta_ui_tab_popup_forward (MetaTabPopup *popup);
+void meta_ui_tab_popup_backward (MetaTabPopup *popup);
+Window meta_ui_tab_popup_get_selected (MetaTabPopup *popup);
+void meta_ui_tab_popup_select (MetaTabPopup *popup,
+ Window xwindow);
+
+
#endif