Construct a checkbox widget
checkbox(parent, label, initial = 0) checkcolumn(parent, label, rows, label.rows = T)
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. |
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
The checkbox
function makes a single checkbox widget, while
checkcolumn
makes a widget containing a column of
checkboxes.