diff options
author | Andrea Cimitan <andrea.cimitan@gmail.com> | 2012-01-12 13:29:52 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-12 14:03:00 -0500 |
commit | 4a18fe7ef27ab4fa86ce6133bd0131c184d5e9be (patch) | |
tree | 11dfcde9e13e95302470790e1e8bb61d079a93f5 /gtk/gtkwidgetprivate.h | |
parent | 133179fd257a7fe06bc5348328dca0a6f8b78a08 (diff) | |
download | gtk+-4a18fe7ef27ab4fa86ce6133bd0131c184d5e9be.tar.gz |
Introduce gtk_window_get/set_attached_to()
gtk_window_get/set_attached_to() is a new API that allows for windows to
be attached to a GtkWidget.
The attachment is a logical binding between the toplevel window and the
widget that generated it; this kind of information is currently used to
propagate style information from the widget to the window, but is also
useful e.g. for accessibility.
https://bugzilla.gnome.org/show_bug.cgi?id=666103
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 35f99b9c9e..241a570bf8 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -100,6 +100,11 @@ void _gtk_widget_remove_sizegroup (GtkWidget *widget, gpointer group); GSList *_gtk_widget_get_sizegroups (GtkWidget *widget); +void _gtk_widget_add_attached_window (GtkWidget *widget, + GtkWindow *window); +void _gtk_widget_remove_attached_window (GtkWidget *widget, + GtkWindow *window); + void _gtk_widget_override_size_request (GtkWidget *widget, int width, int height, |