Learn R Programming

traitr (version 0.13)

aTableLayout: A container for tabular layout...

Description

A container for tabular layout

Usage

aTableLayout(..., no_cols=1, context, 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.

Details

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

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)
i$make_gui(gui_layout=lay)

Run the code above in your browser using DataLab