class controls.ItemRef

OBSOLETE. New code should use the Ref mechanism instead.

An ItemRef is used to link a Control to a specified item of a sequence or mapping object.

Constructor

ItemRef(obj, index)
Creates an ItemRef referring to the item index of the object obj.

Methods

get()
Returns the current value of the item.
set(x)
Sets the value of the item to x.
---