Learn R Programming

traitr (version 0.14)

aTableLayout: A container for tabular layout

Description

The basic container has one column for the item's labels and one column for the item's editors.

Usage

aTableLayout(..., no_cols = 1, context = NULL, attr = list(), enabled_when, visible_when)

Arguments

no_cols
Number of columns. Fills in row by row.
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

aContainer constructor, Container base trait

Examples

Run this code
## simple example
i <- aDialog(items=list(x=numericItem(1), y=stringItem("a")))
lay <- aTableLayout("x","y", no_cols=2)
## Not run: i$make_gui(gui_layout=lay)

Run the code above in your browser using DataLab