set_parent
Description:
Sets parent
as the parent widget of this.
This takes care of details such as updating the state and style of the child to reflect its new location and resizing the parent. The opposite function is [method@Gtk.Widget.unparent].
This function is useful only when implementing subclasses of `GtkWidget`.
Parameters:
this |
a `GtkWidget` |
parent |
parent widget |