Struct TreeView::Node#

Nested Relationships#

This struct is a nested type of Class TreeView.

Struct Documentation#

struct Node

Data for a node in a TreeView.

Public Members

Karana::Core::id_t id

Id of an object to associate the node with.

std::string label = "unnamed"

Display name of the node.

std::string style_class = ""

Extra css class to apply to the node on the frontend.

std::string tooltip = ""

Optional tooltip text.

bool collapsed = false

Whether the node should start collapsed.