gcheckboxgroup: A group of checkboxes

Description Usage Arguments Value Examples

Description

A group of checkboxes

Usage

1
2
3
4
5
6
  gcheckboxgroup(items, checked = FALSE, horizontal = TRUE,
    use.table = FALSE, handler = NULL, action = NULL,
    container = NULL, ..., width = NULL, height = NULL,
    ext.args = NULL, flex = 1,
    label.width = 10 + 10 * max(nchar(items)),
    columns = ifelse(horizontal, length(items), 1))

Arguments

items

vector of items to select from

checked

initial value of checked state. Recycled

horizontal

Layout horizontally?

use.table

Needs implementing. If TRUE, uses a grid widget with checkboxes to display. If TRUE, horizontal is ignored, and items may be a data frame.

handler

optional handler bound via addHandlerChanged

action

optional value to paramaterize handler

container

parent container

...

passed along to add call of the container. Can be used to adjust layout parameters. May also have other uses.

width

a pre-specified width (in pixels) for the widget

height

a pre-specified height (in pixels) for the widget

ext.args

A list of extra arguments to pass to the ExtJS constructor

Value

A GCheckboxGroup reference class instance

Examples

1
2
3
w <- gwindow()
sb <- gstatusbar("Powered by gWidgetsWWW and Rook", cont=w)
cbg <- gcheckboxgroup(state.name[1:4], cont=w)

jverzani/gWidgetsWWW2.rapache documentation built on May 20, 2019, 5:19 a.m.