Package libavg :: Module avg :: Class AVGNode

Class AVGNode




Root node of any avg tree. Defines the properties of the display and handles key press events. The AVGNode's width and height define the coordinate system for the display and are the default for the window size used (i.e. by default, the coordinate system is pixel-based.)

Instance Methods
 
getCropSetting()
Returns true if cropping is active.

Inherited from DivNode: appendChild, getChild, getNumChildren, indexOf, insertChild, removeChild

Inherited from Node: __init__, getParent, getRelPos, releaseEventCapture, setEventCapture, setEventHandler

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from Node: active, height, id, opacity, sensitive, width, x, y

Inherited from object: __class__

Method Details

getCropSetting()

 
Returns true if cropping is active. Cropping can be turned off globally in the avg file. (Deprecated. This attribute is only nessesary because of certain buggy display drivers that don't work with cropping.)
Returns:
isCropActive