10.1 Overview

Area class is the super class of every MOAI class that creates objects which have a visual representation within a window. As such it allows you to manage several generic attributes like object visibility (shown or hidden), state (enabled or disabled), tooltips, and context menus. Children which are derived from Area class are usually called widgets (a portmanteau of "window" and "gadget"). Area class can also provide you with information about a widget's position and size as well as other details belonging to its visual representation within a window.

Note that objects deriving from Group class aren't children of Area class since Group class just creates groups of widgets but isn't a widget itself, but just a layout tool.


Show TOC