BoxContainer

Base class for box containers.

Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

AlignMode
enum AlignMode
Constants
enum Constants

Functions

addSpacer
void addSpacer(bool begin)

Adds a control to the box as a spacer. If true, begin will insert the spacer control in front of other children.

getAlignment
BoxContainer.AlignMode getAlignment()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(BoxContainer other)
opEquals
bool opEquals(typeof(null) n)
setAlignment
void setAlignment(long alignment)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

alignment
BoxContainer.AlignMode alignment [@property getter]
long alignment [@property setter]

The alignment of the container's children (must be one of constant ALIGN_BEGIN, constant ALIGN_CENTER or constant ALIGN_END).

Static functions

_new
BoxContainer _new()

Construct a new instance of BoxContainer. Note: use memnew!BoxContainer instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta