checkbox: Checkbox widgets

View source: R/tk.r

checkboxR Documentation

Checkbox widgets

Description

Construct a checkbox widget

Usage

checkbox(parent, label, initial = 0)

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

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


SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.