class
UI::OutlineView::Node
- UI::OutlineView::Node
- Reference
- Object
Defined in:
ui/views/outline_view.crConstructors
Instance Method Summary
- #add_child(child : Node) : self
- #branch? : Bool
- #children : Array(Node)
- #children=(children : Array(Node))
- #expanded : Bool
- #expanded=(expanded : Bool)
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #is_selected : Bool
- #is_selected=(is_selected : Bool)
- #secondary_text : String | Nil
- #secondary_text=(secondary_text : String | Nil)
- #title : String
- #title=(title : String)
Constructor Detail
def self.new(title : String, icon : String | Nil = nil, secondary_text : String | Nil = nil, expanded : Bool = true, children : Array(Node) = [] of Node, is_selected : Bool = false)
#