This function returns the registered event pattern and the Tcl callback code that the Tcl interpreter evaluates after a event occurs that machtches the event pattern.
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.
state binding id
Character vector of length two. First element is the event pattern, the second element is the Tcl callback code.
Bindings, callbacks, and binding substitutions are described in detail in
loon's documentation webpage, i.e. run