Garry's Mod Wiki

DTree:SetClickOnDragHover

DTree:SetClickOnDragHover

  DTree:SetClickOnDragHover( boolean enable )

Description

Enables the "click when drag-hovering" functionality.

If enabled, when hovering over any DTree_Node of this DTree while dragging a panel, the node will be automatically clicked on (and subsequently DTree:OnNodeSelected will be called) to open any attached panels, such as spawnlists in spawnmenu.

See also: PANEL:DragHoverClick.

Arguments

1 boolean enable

Special Pages


Wikis

?

Render Time: 62ms

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