diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-07-06 16:39:06 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-07-06 16:39:06 +0200 |
commit | 7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe (patch) | |
tree | 5992ebbc9a23fec7e8b010c1083a5b60953f01dc /gtk/gtkwindowprivate.h | |
parent | dec95caf942dba64110b910ffbfc4ce9d3058561 (diff) | |
download | gtk+-7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe.tar.gz |
gtkwindow: Only allow unrestricted positioning to text handle popovers
This behavior has been made optional on add_popover() time, text handles
will keep being able to overflow the window, in order to allow text
selection on views too close to the window edge.
Regular GtkPopovers are reinstaurated to the previous size positioning
logic though, that is, limited by the visible area of the window.
Diffstat (limited to 'gtk/gtkwindowprivate.h')
-rw-r--r-- | gtk/gtkwindowprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h index a8236b0c9f..c9a2a8a180 100644 --- a/gtk/gtkwindowprivate.h +++ b/gtk/gtkwindowprivate.h @@ -105,7 +105,8 @@ void _gtk_window_set_window_group (GtkWindow *window, /* Popovers */ void _gtk_window_add_popover (GtkWindow *window, GtkWidget *popover, - GtkWidget *popover_parent); + GtkWidget *popover_parent, + gboolean clamp_allocation); void _gtk_window_remove_popover (GtkWindow *window, GtkWidget *popover); void _gtk_window_set_popover_position (GtkWindow *window, |