class UI::OutlineView::Node

Defined in:

ui/views/outline_view.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def add_child(child : Node) : self #

[View source]
def branch? : Bool #

[View source]
def children : Array(Node) #

[View source]
def children=(children : Array(Node)) #

[View source]
def expanded : Bool #

[View source]
def expanded=(expanded : Bool) #

[View source]
def icon : String | Nil #

[View source]
def icon=(icon : String | Nil) #

[View source]
def is_selected : Bool #

[View source]
def is_selected=(is_selected : Bool) #

[View source]
def secondary_text : String | Nil #

[View source]
def secondary_text=(secondary_text : String | Nil) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]