diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-12-09 23:12:53 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-12-09 23:12:53 +0000 |
commit | 3f6441ea3ab67b4deea57e1ab127d27021738895 (patch) | |
tree | f041837673e940035edcbed3c7893f3a266f75ee /gdk/gdkwindow.h | |
parent | 451c0775785ccd6328235bf42b92e3f1639ca2bc (diff) | |
download | gtk+-3f6441ea3ab67b4deea57e1ab127d27021738895.tar.gz |
Improve the GDK API for dealing with group leaders (#119375):
Wed Dec 10 00:06:24 2003 Matthias Clasen <maclas@gmx.de>
Improve the GDK API for dealing with group leaders (#119375):
* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to
get the group leader of a toplevel window as a GdkWindow.
* gdk/gdkdisplay.h:
* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New
function to get the default group leader as a GdkWindow.
* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
the GdkWindow of the default group leader.
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
for the default group leader.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 0c60f21d2a..1eadf0044d 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -484,6 +484,7 @@ void gdk_window_set_icon_name (GdkWindow *window, const gchar *name); void gdk_window_set_group (GdkWindow *window, GdkWindow *leader); +GdkWindow* gdk_window_get_group (GdkWindow *window); void gdk_window_set_decorations (GdkWindow *window, GdkWMDecoration decorations); gboolean gdk_window_get_decorations (GdkWindow *window, |