cohtml.Net.MouseEventData

Inherits from SystemIDisposable

Public Types

Name
enum classEventType { MouseMove, MouseDown, MouseUp, MouseWheel, MouseLeave}
enum classMouseButton { ButtonNone = 0, ButtonLeft = 0, ButtonMiddle, ButtonRight, ButtonBack, ButtonForward}

Public Functions

Name
virtual voidDispose()
MouseEventData()

Public Properties

Name
MouseEventData.EventTypeType
The type of the event.
MouseEventData.MouseButtonButton
The mouse button that triggered the event.
intX
The X position of the mouse in pixels in the space of the view.
intY
The Y position of the mouse in pixels in the space of the view.
floatWheelX
Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.
floatWheelY
Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.
intDeltaX
intDeltaY
EventModifiersStateModifiers
Key modifiers.
EventMouseModifiersStateMouseModifiers
Mouse modifiers.

Protected Attributes

Name
boolswigCMemOwn

Public Types Documentation

enum EventType

EnumeratorValueDescription
MouseMove
MouseDown
MouseUp
MouseWheel
MouseLeave

enum MouseButton

EnumeratorValueDescription
ButtonNone0
ButtonLeft0
ButtonMiddle
ButtonRight
ButtonBack
ButtonForward

Public Functions Documentation

function Dispose

virtual void Dispose()

function MouseEventData

MouseEventData()

Public Property Documentation

property Type

MouseEventData.EventType Type;

The type of the event.

property Button

MouseEventData.MouseButton Button;

The mouse button that triggered the event.

property X

int X;

The X position of the mouse in pixels in the space of the view.

property Y

int Y;

The Y position of the mouse in pixels in the space of the view.

property WheelX

float WheelX;

Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.

property WheelY

float WheelY;

Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.

property DeltaX

int DeltaX;

property DeltaY

int DeltaY;

property Modifiers

EventModifiersState Modifiers;

Key modifiers.

property MouseModifiers

EventMouseModifiersState MouseModifiers;

Mouse modifiers.

Protected Attributes Documentation

variable swigCMemOwn

bool swigCMemOwn;