Skip to content
reduz edited this page Feb 23, 2014 · 9 revisions

Container

####Inherits: Control ####Category: Core

Brief Description

Base node for containers.

Member Functions

Signals

  • sort_children ( )

Numeric Constants

  • NOTIFICATION_SORT_CHILDREN = 50 - Notification for when sorting the children, it must be obeyed immediately.

Description

Base node for conainers. A Container contains other controls and automatically arranges them in a certain way. A Control can inherit this to reate custom container classes.

Member Function Description

  • void queue_sort ( )

Queue resort of the contained children. This is called automatically anyway, but can be called upon request.

Fit a child control in a given rect. This is mainly a helper for creating custom container classes.

Clone this wiki locally