SHIP:Property:layoutarea:enabled

From Serious Documentation
Revision as of 06:03, 21 January 2013 by Admin (talk | contribs) (Created page with "=== Node: {{Node|layoutarea|Layout Area Nodes}} === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Node: Layout Area Nodes

Property Data Type Description
enabled Boolean If true (default) this node and its children are able to receive events.

All listener nodes within a node (i.e. children, grandchildren, etc.) will be blocked from receiving events when this property is false.

For example, a touch listener in a box where the box's enabled property is false will prevent the listener from waking on touch events.

The only exception to this behavior is the timer node; the timer's enabled property starts/stops the timer and does not affect the listeners within it.