Skip to contents

Toggle Button control.

Usage

gui_toggle(bounds, text, active)

Arguments

bounds

A rectangle.

text

A string.

active

A logical (current value).

Value

A list with result (integer), active (logical).

Examples

if (FALSE) {
gui_toggle(rectangle(10, 10, 200, 100), "Hello", TRUE)
}