SoMouseButtonEvent.IsButtonDoubleClickEvent Method |
Returns whether the passed event is a mouse button double click event of the passed button.
Namespace: OIV.Inventor.EventsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static bool IsButtonDoubleClickEvent(
SoEvent e,
SoMouseButtonEvent. Buttons whichButton
)
Public Shared Function IsButtonDoubleClickEvent (
e As SoEvent,
whichButton As SoMouseButtonEvent. Buttons
) As Boolean
public:
static bool IsButtonDoubleClickEvent(
SoEvent^ e,
SoMouseButtonEvent. Buttons whichButton
)
static member IsButtonDoubleClickEvent :
e : SoEvent *
whichButton : SoMouseButtonEvent. Buttons -> bool
Parameters
- e
- Type: OIV.Inventor.Events.SoEvent
- whichButton
- Type: OIV.Inventor.Events.SoMouseButtonEvent.Buttons
Return Value
Type:
Boolean
RemarksWhen SoMouseButtonEvent.ANY is passed, this returns true if the event represents a double click of any mouse button.
See Also