diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-28 19:49:03 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:32 +0200 |
commit | 59b227e1232998fdb854affc8dcd9dcd2a446b39 (patch) | |
tree | 7e58a9e72006c6f0e6c03ee73da33c080f9c7a7e /gtk/gtkwindow.h | |
parent | 913f3fcc9f66de4bcb35d8bbc04cadd50ae39634 (diff) | |
download | gtk+-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.h | 3 |
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, |