Base class for all GUI containers.
Base class for all GUI containers. A [Container] automatically arranges its child controls in a certain way. This class can be inherited to make custom container types.
$DOCS_URL/tutorials/ui/gui_containers.html
Implement to return a list of allowed horizontal [enum Control.SizeFlags] for child nodes. This doesn't technically prevent the usages of any other size flags, if your implementation requires that. This only limits the options available to the user in the Inspector dock. [b]Note:[/b] Having no size flags is equal to having [constant Control.SIZE_SHRINK_BEGIN]. As such, this value is always implicitly allowed.
Implement to return a list of allowed vertical [enum Control.SizeFlags] for child nodes. This doesn't technically prevent the usages of any other size flags, if your implementation requires that. This only limits the options available to the user in the Inspector dock. [b]Note:[/b] Having no size flags is equal to having [constant Control.SIZE_SHRINK_BEGIN]. As such, this value is always implicitly allowed.
Fit a child control in a given rect. This is mainly a helper for creating custom container classes.
Queue resort of the contained children. This is called automatically anyway, but can be called upon request.
Emitted when children are going to be sorted.
Emitted when sorting the children is needed.
Notification just before children are going to be sorted, in case there's something to process beforehand.
Notification for when sorting the children, it must be obeyed immediately.