aGroup: A box container. Packs in items left to right or top to...

Description Usage Arguments Value See Also Examples

Description

A box container. Packs in items left to right or top to bottom

Usage

1
2
aGroup(..., horizontal = TRUE, spacing = 10, context = NULL,
  attr = list(), enabled_when, visible_when)

Arguments

horizontal

If TRUE left to right, if FALSE top to bottom

spacing

Space in pixels between items

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

1
2
3
i <- aDialog(items=list(xlong=numericItem(1), y=stringItem("a")))
lay <- aGroup("xlongname","y", horizontal=FALSE)  # not in nice layout
## Not run: i$make_gui(gui_layout=lay)

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