klyn.gui.windows.TreeView.emptyText
property
public property emptyText as String:
Description

Text centered in the content area when the model has no child node.

An empty value preserves the regular behavior and displays the model root. This makes the empty state opt-in for trees whose root is only a structural node.

tree = TreeView(TreeModel(TreeNode("Results")))
tree.emptyText = "No result yet"