Container

    Inherited By: AspectRatioContainer, , CenterContainer, , FlowContainer, , GridContainer, , PanelContainer, , SplitContainer, , ViewportContainer

    Base node for containers.

    Base node for containers. A contains other controls and automatically arranges them in a certain way.

    Tutorials

    Signals

    Emitted when sorting the children is needed.

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

    Method Descriptions

    • void fit_child_in_rect ( Control child, rect )

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


    • void queue_sort ( )

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