abstract class
Opal::UI::Element
- Opal::UI::Element
- Reference
- Object
Overview
Base class for all visual components in the declarative UI hierarchy.
Direct Known Subclasses
- Opal::UI::Badge
- Opal::UI::BarChart
- Opal::UI::Box
- Opal::UI::CodeView
- Opal::UI::CommandPalette
- Opal::UI::FilterList
- Opal::UI::Gauge
- Opal::UI::HexViewer
- Opal::UI::HStack
- Opal::UI::MarkdownElement
- Opal::UI::Modal
- Opal::UI::Rule
- Opal::UI::Sparkline
- Opal::UI::SplitView
- Opal::UI::Table
- Opal::UI::Tabs
- Opal::UI::Text
- Opal::UI::Tree
- Opal::UI::Viewport
- Opal::UI::VStack
Defined in:
opal/ui/element.crInstance Method Summary
- #preferred_size(available_w : Int32, available_h : Int32) : Tuple(Int32, Int32)
- #render(buffer : Buffer, x : Int32, y : Int32, width : Int32, height : Int32) : Nil
Instance Method Detail
abstract
def preferred_size(available_w : Int32, available_h : Int32) : Tuple(Int32, Int32)
#