SplitContainer

Inherits: Container < Control < CanvasItem < Node < Object

Inherited By: HSplitContainer, VSplitContainer

Category: Core

Brief Description

Container for splitting and adjusting.

Properties

boolcollapsed
DraggerVisibilitydragger_visibility
intsplit_offset

Methods

voidclamp_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

Setterset_collapsed(value)
Getteris_collapsed()

Setterset_dragger_visibility(value)
Getterget_dragger_visibility()

Determines whether the dragger is visible.


  • int split_offset
Setterset_split_offset(value)
Getterget_split_offset()

Method Descriptions

  • void clamp_split_offset ( )