dragndrop.CallReceiverFunction

From Garry's Mod
Jump to: navigation, search
 dragndrop.CallReceiverFunction( )

Contents

Description

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

Calls the receiver function of hovered panel.

Arguments

boolean bDoDrop

true if the mouse was released, false if we right clicked.

Arguments

number command

The command value. This should be the ID of the clicked dropdown menu ( if right clicked, or nil )

Arguments

number mx

The local to the panel mouse cursor X position when the click happened.

Arguments

number my

The local to the panel mouse cursor Y position when the click happened.
Personal tools
Navigation