# Candera Engine 2D

#### Node2D Listener support.

[Node2DListener](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_node2_d_listener.html "A Node2DListener defines hooks that are called when certain Node functions are triggered, e.g. when a Node's transformation changes. In order to register a Node2DListener to a Node simply derive from Node2DListener and override pure virtual functions with custom code.") defines hooks that are called when certain [Node](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_node.html "The class Node is an abstract base class for all scene graph nodes. Each Node defines a local coordin...") functions are triggered, e.g. when a Node's transformation changes.

<div class="contents" id="bkmrk-"><div class="contents"><div class="textblock">---

</div></div></div>#### Auto Arrangement for GridLayouter

Two new methods available for [GridLayouter](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_grid_layouter.html "GridLayouter arranges its elements in a grid. The amount of rows and columns for the grid must be spe..."):

<div class="contents" id="bkmrk-gridlayouter%3A%3Asetgri"><div class="textblock">- [GridLayouter::SetGridAutoArrangement](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_grid_layouter.html#a293779ec4c742e1edd4d762cfc55bd9d) : sets the grid autoArrangement. See method description for possible layouter arrangement settings.
- [GridLayouter::GetGridAutoArrangement](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_grid_layouter.html#a89e23963c01aa7776c367c077f669a10): retrieves the grid autoArrangement settings of a given node, set by [GridLayouter::SetGridAutoArrangement](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_grid_layouter.html#a293779ec4c742e1edd4d762cfc55bd9d) method.

</div></div>---