The order the item bindings defines how they get evaluated once an event matches event patterns of multiple item bindings.

Reordering item bindings has currently no effect. Item bindings are evaluated in the order in which they have been added.

l_bind_item_reorder(widget, ids)



widget path as a string or as an object handle


new item binding id evaluation order, this must be a rearrangement of the elements returned by the l_bind_item_ids function.


vector with binding id evaluation order (same as the id argument)


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

See also