From 59b227e1232998fdb854affc8dcd9dcd2a446b39 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 28 Aug 2010 19:49:03 +0200 Subject: 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). --- gtk/gtkwindow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkwindow.h') 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, -- cgit v1.2.1