Panel/DragHover

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|Name=DragHover
 
|Name=DragHover
 
|Parent=Panel
 
|Parent=Panel
 +
|Description={{Internal}} Called by {{LibraryFunction|dragndrop|HoverThink}} to perform actions on an object that is dragged and hovered over another.
 
|Realm=Client
 
|Realm=Client
 
|IsClass=Yes
 
|IsClass=Yes
 
|File=lua/includes/extensions/client/panel/dragdrop.lua
 
|File=lua/includes/extensions/client/panel/dragdrop.lua
|Line=502
+
|Line=502-L525
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
 
|name=HoverTime
 
|name=HoverTime
 +
|desc=If this time is greater than 0.1, {{HookFunction|PANEL|DragHoverClick}} is called, passing it as an argument.
 
}}
 
}}

Latest revision as of 12:26, 20 December 2018

 Panel:DragHover( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Called by dragndrop.HoverThink to perform actions on an object that is dragged and hovered over another.

Arguments

number HoverTime

If this time is greater than 0.1, PANEL:DragHoverClick is called, passing it as an argument.
Personal tools
Navigation