summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-28 19:49:03 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:32 +0200
commit59b227e1232998fdb854affc8dcd9dcd2a446b39 (patch)
tree7e58a9e72006c6f0e6c03ee73da33c080f9c7a7e /gtk/gtkwindow.h
parent913f3fcc9f66de4bcb35d8bbc04cadd50ae39634 (diff)
downloadgtk+-59b227e1232998fdb854affc8dcd9dcd2a446b39.tar.gz
window: Keep track of own visual
Add gtk_window_set_visual() and a "visual" property. This allows changing the window visual to the rgba one and other awesome things (like implementing the trayicon spec).
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 805c9a6a32..792eeea3f1 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -191,6 +191,8 @@ void gtk_window_set_geometry_hints (GtkWindow *window,
void gtk_window_set_screen (GtkWindow *window,
GdkScreen *screen);
GdkScreen* gtk_window_get_screen (GtkWindow *window);
+void gtk_window_set_visual (GtkWindow *window,
+ GdkVisual *visual);
gboolean gtk_window_is_active (GtkWindow *window);
gboolean gtk_window_has_toplevel_focus (GtkWindow *window);
@@ -380,6 +382,7 @@ void _gtk_window_set_is_toplevel (GtkWindow *window,
void _gtk_window_get_wmclass (GtkWindow *window,
gchar **wmclass_name,
gchar **wmclass_class);
+GdkVisual * _gtk_window_get_visual (GtkWindow *window);
typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
guint keyval,