checkbox {QPress}R Documentation

Checkbox widgets

Description

Construct a checkbox widget

Usage

checkbox(parent, label, initial = 0)

checkcolumn(parent, label, rows, label.rows = T)

Arguments

parent

the parent window.

label

the label for the enclosing frame.

initial

the initial state of the checkbox

rows

the row labels

label.rows

whether to label rows.

Details

The checkbox function makes a single checkbox widget, while checkcolumn makes a widget containing a column of checkboxes.

Value

Returns an object of class checkbox or checkcolumn with elements

window

the widget

selected

function that returns the state of the checkboxes

state

the tclVars representing the state of the checkboxes


[Package QPress version 0.21 Index]