parameterControlTool: Create playwith tools for controlling parameter values

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Part of the playwith Application Programming Interface.

Usage

1
2
3
## Note: this is only to be called inside a tool constructor function.
parameterControlTool(playState, name, value, label = name,
                     handler = NULL, horizontal = TRUE)

Arguments

playState

a playState object, as passed in to the constructor function.

name

the parameter name as it appears in the plot call.

value

the possible or starting values for the parameter. Can be a single or vector value, of integer, numeric, character or logical. See playwith for details.

label

label for the widget.

handler

a function.

horizontal

FALSE to make a tool for a vertical toolbar.

Details

Note: this is only to be called inside a tool constructor function. It is not intended to be called directly.

Value

a gtkToolButton.

Author(s)

Felix Andrews felix@nfrac.org

See Also

playwith

Examples

1
## none yet

11010tianyi/playwith documentation built on May 5, 2019, 10:37 a.m.