Skip to content

pyui.set_control_checked

fabian-flassig edited this page Jul 31, 2026 · 2 revisions

Sets the checked-state of a control (for those controls that have a check state).

pyui.set_control_checked(control ,text)
control:set_control_checked(text)

Parameters

Type Description
control control_handle Control handle
state string or boolean New checked state: true, false or "checked", "unchecked", "indeterminate"

Return value

None

Note

The on_change handler is not invoked when the text is changed programmatically with this function.

See also

Control Gallery, set_control_text, set_control_selection, set_on_click_handler, create_check_box, create_radio_button

Clone this wiki locally