gtkContainerRemove: gtkContainerRemove

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R


Removes widget from container. widget must be inside container. Note that container 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 while it's not inside a container, If you don't want to use widget again it's usually more efficient to simply destroy it directly using gtkWidgetDestroy since this will remove it from the container and help break any circular reference count cycles.


gtkContainerRemove(object, widget)



a GtkContainer


a current child of container


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 30, 2017, 5:53 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code