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.
Parameters
relativeTo | a #GtkWidget |
void setRelativeTo(gtk.widget.Widget relativeTo = null)Sets a new widget to be attached to popover. If popover is visible, the position will be updated.
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.
relativeTo | a #GtkWidget |