class

Opal::UI::TreeNode

Inherits Reference < Object

Node in a hierarchical tree view.

Constructors

new(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil, expanded : Bool = true)
Source

Instance methods

add(child : TreeNode) : TreeNode
Source
add(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil) : TreeNode
Source
add(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil, &) : TreeNode
Source
children
Source
color
Source
expanded=(expanded : Bool)
Source
expanded?
Source
icon
Source
label
Source
toggle_expand
Source