gtkContainerAdd: gtkContainerAdd

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

Description

Adds widget to container. Typically used for simple containers such as GtkWindow, GtkFrame, or GtkButton; for more complicated layout containers such as GtkBox or GtkTable, this function will pick default packing parameters that may not be correct. So consider functions such as gtkBoxPackStart and gtkTableAttach as an alternative to gtkContainerAdd in those cases. A widget may be added to only one container at a time; you can't place the same widget inside two different containers.

Usage

1
gtkContainerAdd(object, widget)

Arguments

object

a GtkContainer

widget

a widget to be placed inside container

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gtkContainerAdd in RGtk2...