Garry's Mod Wiki

DTree_Node:OnNodeSelected

  DTree_Node:OnNodeSelected( Panel node )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called when this or a sub node is selected. Do not use this, it is not for override.

Use DTree:OnNodeSelected or DTree_Node:DoClick instead.

Arguments

1 Panel node