Learn R Programming

traitr (version 0.13)

aPanedGroup: A two panel paned group container.

Description

A two panel paned group container.

Usage

aPanedGroup(..., horizontal=TRUE, context, attr=list(), enabled_when,
    visible_when)

Arguments

horizontal
If TRUE left to right, if FALSE top to bottom
context
ItemGroup or item to get context from. Typically just NULL.
attr
gWidget values passed to constructor
enabled_when
Method to determine when items in container should be enabled
visible_when
Method to determine when items in container should be visible
...
children items specified by character strings

Value

  • Returns a proto object. Call obj$show_help() to view its methods and properties.

See Also

Container

Examples

Run this code
i <- aDialog(items=list(x=numericItem(1), y=stringItem("a")))
lay <- aPanedGroup("x","y") ## just two children,
i$make_gui(gui_layout=lay)
## can put other children into a container to make just two children for aPanedGroup instance
j <- aDialog(items=list(x=numericItem(1), y=stringItem("a"), z=trueFalseItem(TRUE, label="check me")))
lay <- aPanedGroup("x", aContainer("y", "z"))
j$make_gui(gui_layout=lay)

Run the code above in your browser using DataLab