l_bind_state_get: Get the event pattern and callback Tcl code of a state...

View source: R/l_bind.R

l_bind_state_getR Documentation

Get the event pattern and callback Tcl code of a state binding

Description

This function returns the registered event pattern and the Tcl callback code that the Tcl interpreter evaluates after a event occurs that matches the event pattern.

Usage

l_bind_state_get(target, id)

Arguments

target

either an object of class loon or a vector that specifies the widget, layer, glyph, navigator or context completely. The widget is specified by the widget path name (e.g. '.l0.plot'), the remaining objects by their ids.

id

state binding id

Details

Bindings, callbacks, and binding substitutions are described in detail in loon's documentation webpage, i.e. run l_help("learn_R_bind")

Value

Character vector of length two. First element is the event pattern, the second element is the Tcl callback code.

See Also

l_bind_state, l_bind_state_ids, l_bind_state_delete, l_bind_state_reorder


loon documentation built on July 9, 2023, 5:48 p.m.