enum

Tryst::UI::SplitOrientation

Inherits Enum < Comparable < Value < Object

Which way a ui.split divides its space - the orientation: option on ui.split. An enum rather than a validated Symbol, so a misspelling is a compile error at the declaration: Crystal autocasts the symbol literal at the call site, and only these two names exist.

Constants

Horizontal = 0

Panes side by side, with a vertical sash to drag between them.

Vertical = 1

Panes stacked, with a horizontal sash between them.

Instance methods

horizontal?

Returns true if this enum value equals Horizontal

Source
to_tcl

Tk's own -orient values, which are these names in lower case.

Source
vertical?

Returns true if this enum value equals Vertical

Source