diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2013-11-13 15:11:21 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-01-22 17:10:05 +0100 |
commit | bb7ef098c4090afac6bc0044e03f0fc6d45d99fe (patch) | |
tree | c1f787a6ad29b9ef11a33acc245c6123fc4d23cc /gtk/gtkwindow.c | |
parent | 4d12d8591983491236cd6c9ffa667caf3026805f (diff) | |
download | gtk+-bb7ef098c4090afac6bc0044e03f0fc6d45d99fe.tar.gz |
popover: Add documentation
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 1abf559368..532bbafaca 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -11921,6 +11921,16 @@ _gtk_window_get_shadow_width (GtkWindow *window, get_shadow_width (GTK_WIDGET (window), border); } +/** + * gtk_window_add_popover: + * @window: a #GtkWindow + * @popover: a #GtkWidget to be added as a popover of @window + * + * Adds a widget so it acts as a popover within @window, it can + * be later positioned through gtk_window_set_popover_position(). + * + * Since: 3.12 + **/ void gtk_window_add_popover (GtkWindow *window, GtkWidget *popover) @@ -11947,6 +11957,15 @@ gtk_window_add_popover (GtkWindow *window, gtk_widget_set_parent (popover, GTK_WIDGET (window)); } +/** + * gtk_window_remove_popover: + * @window: a #GtkWindow + * @popover: a #GtkWidget acting as a popover on @window + * + * Removes @popover from being a popover of @window. + * + * Since: 3.12 + **/ void gtk_window_remove_popover (GtkWindow *window, GtkWidget *popover) |