Struct TreeView::Node#
Defined in File TreeView.h
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::optional<Karana::Core::id_t> parent = std::nullopt
Id of the parent node, if any.
-
std::string category = "default"
Style category (WIP).
-
std::string tooltip = ""
Optional tooltip text.
-
Karana::Core::id_t id