Opal::UI::ContentSwitcher
Inherits Opal::UI::Control < Opal::UI::InputHookable < Opal::UI::Element < Opal::UI::Themable < Reference < Object
Container that manages multiple child views and displays only the active one by key. Inspired by Python Textual's ContentSwitcher. Preserves child element states across view switches without rebuilding trees.
Constructors
Instance methods
current
SourceDefault key event handler. Override in subclasses if not using @default_input_proc.
Default mouse event handler. Override in subclasses if not using @default_input_proc.
views
Source