class controls.AttrRef

OBSOLETE. New code should use the Ref mechanism instead.

An AttrRef is used to link a Control to a specified attribute of another object.

Constructor

AttrRef(obj, attr)
Creates an AttrRef referring to the attribute named attr of the object obj.

Methods

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