Package: gtk

Function gtk:widget-set-parent

Lambda List

gtk:widget-set-parent (widget parent)

Arguments

widget -- a gtk:widget object
parent -- a parent gtk:widget object

Details

Sets parent as the parent widget of widget. 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 the gtk:widget-unparent function.

This function is useful only when implementing subclasses of the gtk:widget object.

Notes

The parent property is not writable. You have to use this function to set the parent widget.
 

See also

2025-2-13