anExpandGroup: Expanding group. Has trigger to show/hide its children

Description Usage Arguments Value See Also Examples

Description

Expanding group. Has trigger to show/hide its children

Usage

1
2
anExpandGroup(..., label = "", horizontal = FALSE, expanded = TRUE,
  context = NULL, attr = list(), enabled_when, visible_when)

Arguments

label

label for trigger

horizontal

If TRUE left to right, if FALSE top to bottom

expanded

Initial state of children. Set to TRUE to show

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
4
i <- aDialog(items=list(x=numericItem(1), y=stringItem("a")))
lay <- anExpandGroup(label="label frame",
                    aContainer("x","y"))
## Not run: i$make_gui(gui_layout=lay)

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