Widget.setParent

This function is useful only when implementing subclasses of gtk.Container

Sets the container as the parent of widget, and takes care of some details such as updating the state and style of the child to reflect its new location. The opposite function is Widget.unparent.

class Widget
void
setParent

Parameters

parent Widget

parent container