Base node for containers.
    public class Container : Control

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

A Control can inherit this to create custom container classes.

Inheritance Chain

Derived Classes

Static Fields

    public const Int32 NotificationSortChildren = 50

Constructors

    public Container()

Signals

    "sort_children" ()

Emitted when sorting the children is needed.

Methods

    public void FitChildInRect(Control child, Rect2 rect)

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

    public void QueueSort()

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

Tags: