Garry's Mod Wiki

DTree:MoveChildTo

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.

Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 18
Render Body 0
Render Sidebar 6