window: Add concept of popover "parent"

Desktop / GNOME / GTK - Carlos Garnacho [gnome.org] - 17 June 2015 08:56 UTC

This will be the widget that the popover relates to (::pointing-to in GtkPopover, ::parent in GtkTextHandle).

Additional API to check the popover/parent relationship between widgets has been added, which will be useful wherever this is necessary in a generic manner.

https://bugzilla.gnome.org/show_bug.cgi?id=750993

76dc8ac window: Add concept of popover "parent"
gtk/gtkpopover.c | 4 ++--
gtk/gtktexthandle.c | 2 +-
gtk/gtkwindow.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++-
gtk/gtkwindowprivate.h | 8 +++++++-
4 files changed, 62 insertions(+), 5 deletions(-)

Upstream: git.gnome.org


  • Share