aTableLayout: A container for tabular layout

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
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

1
2
3
4
## 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)

traitr documentation built on May 2, 2019, 3:32 p.m.