Skip to contents

Grid control.

Usage

gui_grid(bounds, text, spacing, subdivs, mouse_cell)

Arguments

bounds

A rectangle.

text

A string.

spacing

A number.

subdivs

An integer.

mouse_cell

A numeric vector of length 2 (current value).

Value

A list with result (integer), mouse_cell (numeric vector of length 2).

Examples

if (FALSE) {
gui_grid(rectangle(10, 10, 200, 100), "Hello", 1.0, 0L, c(100, 100))
}