remove


Description:

[ HasEmitter ]
public virtual signal void remove (Widget widget)

Removes widget from this.

widget must be inside this. Note that this will own a reference to widget, and that this may be the last reference held; so removing a widget from its container can destroy that widget. If you want to use widget again, you need to add a reference to it before removing it from a container, using @ref. If you don’t want to use widget again it’s usually more efficient to simply destroy it directly using gtk_widget_destroy since this will remove it from the container and help break any circular reference count cycles.

Parameters:

widget

a current child of this

container

a Container