class UI::ColumnView::Item

Defined in:

ui/views/column_view.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(title : String, icon : String | Nil = nil, secondary_text : String | Nil = nil, children : Array(Item) = [] of Item) #

[View source]

Instance Method Detail

def add_child(child : Item) : self #

[View source]
def branch? : Bool #

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

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

[View source]
def icon : String | Nil #

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

[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]