Skip to content

guitreeviewnode: members

31 implemented, 0 reserved. Entries are sorted by name.

guitreeviewnode.addlines(arg1: object, arg2: boolean) -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Adds one tree node for each line of an array.

Control.addlines("", "");

Specification: gui.md§3.

guitreeviewnode.addnode(name: string) -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Adds a root-level node to a tree.

Tree.addNode("Items");

Specification: gui.md§3.

guitreeviewnode.addnodebypath(path: string, value: string) -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Adds the nodes of a path separated by slashes, creating the missing ones, and sets the value of the last; an existing path gets the new value.

Tree.addNodeByPath("a/b/c", 5);

Specification: gui.md§3.

guitreeviewnode.addvars(arg1: object, arg2: boolean) -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Adds one tree node for each variable of an object.

Control.addvars("", "");

Specification: gui.md§3.

guitreeviewnode.clearnodes() -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Removes every node of a tree.

Tree.clearNodes();

Specification: gui.md§3.

guitreeviewnode.destroy() -> number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Removes the node and its children from the tree.

Node.destroy();

Specification: gui-legacy.md§21.5.

guitreeviewnode.expanded: boolean

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Whether the children of the node are shown.

Node.expanded = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.expandedimage: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Picture drawn beside the node while it is expanded.

Node.expandedimage = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.expandedselectedimage: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Picture drawn beside the node while it is expanded and selected.

Node.expandedselectedimage = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.extent: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Width and height of the node in the tree, as “w h”.

echo(Node.extent);

Specification: gui-legacy.md§21.5.

guitreeviewnode.getfullname(arg1: string) -> string

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Returns the names from the top of the tree to a node joined by a separator.

Control.getfullname("");

Specification: gui.md§3.

guitreeviewnode.getnode(arg1: string) -> guitreeviewnode

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Returns the child node with a name.

Control.getnode("");

Specification: gui.md§3.

guitreeviewnode.getnodebypath(arg1: string, arg2: string) -> guitreeviewnode

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Returns the node at the end of a path of names.

Control.getnodebypath("", "");

Specification: gui.md§3.

guitreeviewnode.height: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Height of the node in pixels.

echo(Node.height);

Specification: gui-legacy.md§21.5.

guitreeviewnode.hint: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Text shown when the pointer rests on the node.

Node.hint = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.image: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Picture drawn beside the node.

Node.image = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.level: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

How deep the node is: 0 for a child of the root.

echo(Node.level);

Specification: gui-legacy.md§21.5.

guitreeviewnode.name: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The text of the node (the same as text).

Node.name = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.parent: guitreeviewnode

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

The node this one hangs from, or empty at the top.

echo(Node.parent);

Specification: gui-legacy.md§21.5.

guitreeviewnode.position: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Left and top edge of the node inside the tree, as “x y”.

echo(Node.position);

Specification: gui-legacy.md§21.5.

guitreeviewnode.profile: guicontrolprofile

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The profile this node is drawn with when useownprofile is set.

Node.profile = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.select() -> number

Runs on: client only. Origin: compatibility. Since: M8. Playground: no.

Selects the tree node.

Control.select();

Specification: gui.md§3.

guitreeviewnode.selectedimage: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Picture drawn beside the node while it is selected.

Node.selectedimage = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.sortgroup: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Nodes sort inside their group, and groups come in order.

Node.sortgroup = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.sortvalue: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The number nodes are ordered by when the tree sorts.

Node.sortvalue = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.text: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The text of the node.

Node.text = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.useownprofile: boolean

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Gives the node a profile of its own that a script can change.

Node.useownprofile = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.visible: boolean

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Whether the node is shown in the tree.

Node.visible = 1;

Specification: gui-legacy.md§21.5.

guitreeviewnode.width: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Width of the node in pixels.

echo(Node.width);

Specification: gui-legacy.md§21.5.

guitreeviewnode.x: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Left edge of the node inside the tree.

echo(Node.x);

Specification: gui-legacy.md§21.5.

guitreeviewnode.y: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

Top edge of the node inside the tree.

echo(Node.y);

Specification: gui-legacy.md§21.5.

Engine version 0.1.0. Built 2026-11-18.