Opal::UI::SplitView
Inherits Opal::UI::Element < Opal::UI::Themable < Reference < Object
Multi-pane split view container supporting horizontal (side-by-side) and vertical (stacked) layouts with configurable proportions and borders.
Constructors
horizontal(first : Element | Nil = nil, second : Element | Nil = nil, ratio : Float64 | Nil = 0.5, first_width : Int32 | Nil = nil, second_width : Int32 | Nil = nil, separator : Char | Nil = nil, separator_fg : Color | Symbol | String = Color.none, focused_pane : Symbol = :first, show_separator : Bool = true) : SplitView
Sourcenew(first : Element | Nil = nil, second : Element | Nil = nil, direction : SplitDirection = SplitDirection::Horizontal, ratio : Float64 | Nil = 0.5, first_size : Int32 | Nil = nil, second_size : Int32 | Nil = nil, separator : Char | Nil = nil, separator_fg : Color | Symbol | String = Color.none, focused_pane : Symbol = :first, show_separator : Bool = true)
Sourcevertical(first : Element | Nil = nil, second : Element | Nil = nil, ratio : Float64 | Nil = 0.5, first_height : Int32 | Nil = nil, second_height : Int32 | Nil = nil, separator : Char | Nil = nil, separator_fg : Color | Symbol | String = Color.none, focused_pane : Symbol = :first, show_separator : Bool = true) : SplitView
SourceInstance methods
direction
Sourcedirection=(direction : SplitDirection)
Sourcefirst
Sourcefirst=(first : Element | Nil)
Sourcefirst_size
Sourcefocused_pane
Sourceratio
Sourcesecond
Sourcesecond=(second : Element | Nil)
Sourcesecond_size
Sourceseparator
Sourceseparator_fg
Sourceseparator_fg=(separator_fg : Color)
Sourceshow_separator?
Source