DTree/MoveChildTo

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{PanelFunc |Description={{Internal}} Used as a placeholder empty function alongside {{ClassFunction|DTree|ExpandTo}}, {{ClassFunction|DTree|SetExpanded}} and {{ClassFuncti...")
 
(d)
Line 1: Line 1:
 
{{PanelFunc
 
{{PanelFunc
 
|Description={{Internal}}
 
|Description={{Internal}}
 +
 +
Directly calls to {{DPanelList|InsertAtTop}}.
  
 
Used as a placeholder empty function alongside {{ClassFunction|DTree|ExpandTo}}, {{ClassFunction|DTree|SetExpanded}} and {{ClassFunction|DTree|ChildExpanded}}.
 
Used as a placeholder empty function alongside {{ClassFunction|DTree|ExpandTo}}, {{ClassFunction|DTree|SetExpanded}} and {{ClassFunction|DTree|ChildExpanded}}.
  
Since the {{Type|DTree}} acts a root node and those methods with the same name in {{Type|DTree_Node}} call to the parent.
+
The {{Type|DTree}} acts a root node and methods with the same name in {{Type|DTree_Node}} call to the parent.
 +
}}
 +
{{Arg
 +
|type=Panel
 +
|name=child
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=pos?
 +
|desc={{Depreacted}} Unused, does nothing.
 
}}
 
}}

Revision as of 13:02, 21 December 2017

 DTree:MoveChildTo( )

DescriptionPanelFunc

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Directly calls to Template:DPanelList.

Used as a placeholder empty 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

Panel child

Arguments

number pos?

Template:Depreacted Unused, does nothing.
Personal tools
Navigation