Method
GtkPopoverset_relative_to
since: 3.12
Declaration [src]
void
gtk_popover_set_relative_to (
GtkPopover* popover,
GtkWidget* relative_to
)
Description [src]
Sets a new widget to be attached to popover
. If popover
is
visible, the position will be updated.
Note: the ownership of popovers is always given to their relative_to
widget, so if relative_to
is set to NULL
on an attached popover
, it
will be detached from its previous widget, and consequently destroyed
unless extra references are kept.
Available since: 3.12
Sets property | Gtk.Popover:relative-to |
Parameters
relative_to
-
Type:
GtkWidget
A
GtkWidget
.The argument can be NULL
.The data is owned by the caller of the method.