Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
A container that splits two child controls horizontally or vertically and provides a grabber for adjusting the split ratio.
A container that accepts only two child controls, then arranges them horizontally or vertically and creates a divisor between them. The divisor can be dragged around to change the size relation between the child controls.
dragged ( int offset )
Emitted when the dragger is dragged by user.
DraggerVisibility DRAGGER_VISIBLE =
The split dragger is visible when the cursor hovers it.
The split dragger is never visible.
The split dragger is never visible and its space collapsed.
bool collapsed =
true, the area of the first Control will be collapsed and the dragger will be disabled.
DraggerVisibility dragger_visibility =
void set_dragger_visibility ( DraggerVisibility value )
DraggerVisibility get_dragger_visibility ( )
Determines the dragger's visibility. See DraggerVisibility for details.
int split_offset =
bool vertical =
true, the SplitContainer will arrange its children vertically, rather than horizontally.
void clamp_split_offset ( )
Clamps the split_offset value to not go outside the currently possible minimal and maximum values.
Theme Property Descriptions¶
int autohide =
Boolean value. If 1 (
true), the grabber will hide automatically when it isn't under the cursor. If 0 (
false), it's always visible.
int minimum_grab_thickness =