-
Notifications
You must be signed in to change notification settings - Fork 0
class_container
reduz edited this page Feb 23, 2014
·
9 revisions
Inherits: control\ Category: Core\
Base node for containers.
- void #queue_sort(****)
- void #fit_child_in_rect( Control child, Rect2 rect )
- sort_children**(****)**
- NOTIFICATION_SORT_CHILDREN = 50 - Notification for when sorting the children, it must be obeyed immediately.
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.
== queue_sort ==
- void #queue_sort(****) \ Queue resort of the contained children. This is called automatically anyway, but can be called upon request. == fit_child_in_rect ==
- void #fit_child_in_rect( Control child, Rect2 rect ) \ Fit a child control in a given rect. This is mainly a helper for creating custom container classes.