class_splitcontainer - dragonsoulz/godot GitHub Wiki

SplitContainer

####Inherits: Container ####Category: Core

Brief Description

Container for splitting and adjusting.

Member Functions

Description

Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio.

Member Function Description

set_split_offset

  • void set_split_offset ( int offset )

Set the split offset.

get_split_offset

  • int get_split_offset ( ) const

Return the spluit offset;

set_collapsed

  • void set_collapsed ( bool collapsed )

Set if the split must be collapsed.

is_collapsed

  • bool is_collapsed ( ) const

Return if the split is collapsed;