SplitContainer
Inherits: Container < Control < CanvasItem < Node < Object
Inherited By: HSplitContainer, VSplitContainer
Category: Core
Brief Description
Container for splitting and adjusting.
Properties
bool | collapsed |
DraggerVisibility | dragger_visibility |
int | split_offset |
Methods
void | clamp_split_offset ( ) |
Signals
- dragged ( int offset )
Emitted when the dragger is dragged by user.
Enumerations
enum DraggerVisibility:
- DRAGGER_VISIBLE = 0 — The split dragger is visible.
- DRAGGER_HIDDEN = 1 — The split dragger is invisible.
- DRAGGER_HIDDEN_COLLAPSED = 2 — The split dragger is invisible and collapsed.
Description
Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio.
Property Descriptions
- bool collapsed
Setter | set_collapsed(value) |
Getter | is_collapsed() |
- DraggerVisibility dragger_visibility
Setter | set_dragger_visibility(value) |
Getter | get_dragger_visibility() |
Determines whether the dragger is visible.
- int split_offset
Setter | set_split_offset(value) |
Getter | get_split_offset() |
Method Descriptions
- void clamp_split_offset ( )