Base node for containers. 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. $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.