Garry's Mod Wiki

DTree:MoveChildTo

DTree:MoveChildTo( Panel child, number pos )

Description

Moves given node to the top of DTrees children. (Makes it the topmost mode)

Used as a placeholder function alongside DTree:ExpandTo, DTree:SetExpanded and DTree:ChildExpanded.

The DTree acts a root node and methods with the same name in DTree_Node call to the parent.

Arguments

1 Panel child
The node to move
2 number pos
We advise against using this. It may be changed or removed in a future update.

Unused, does nothing.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 12