Learn R Programming

traitr (version 0.3)

aContainer: A container to give a different context that the default for a set of items...

Description

A container to give a different context that the default for a set of items

Usage

aContainer(..., context, enabled_when, visible_when)

Arguments

context
ItemGroup or item to get context from
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.

Examples

Run this code
i <- anItemGroup(x=numericItem(1), y=stringItem("a"))
lay <- aContainer("x","y")
makeGUI(i, gui_layout=lay)

Run the code above in your browser using DataLab