Package: gtk

Function gtk:widget-insert-after

Lambda List

gtk:widget-insert-after (widget parent prev)

Arguments

widget -- a gtk:widget object
parent -- a gtk:widget object for the parent widget to insert widget into
prev -- a gtk:widget object for the previous sibling of widget or nil

Details

Inserts widget into the child widget list of parent. It will be placed after prev, or at the beginning if prev is nil.

After calling this function, the gtk:widget-prev-sibling function will return prev. If parent is already set as the parent widget of widget, this function can also be used to reorder widget in the child widget list of parent.

This API is primarily meant for widget implementations. If you are just using a widget, you must use its own API for adding children.
 

See also

2025-2-15