Class MouseRelative

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

MouseRelative is used when relative mouse movement occurs in the window.

C#
Copy
public class MouseRelative : Disposable
Inheritance
MouseRelative

Constructors

View Source

MouseRelative()

The default constructor.

Declaration
C#
Copy
public MouseRelative()
View Source

MouseRelative(MouseRelative.StateType, UInt32, UInt32, Vector2, Vector2)

The constructor.

Declaration
C#
Copy
public MouseRelative(MouseRelative.StateType state, uint modifiers, uint timeStamp, Vector2 diffPosition, Vector2 unaccelatedPosition)
Parameters
Type Name Description
MouseRelative.StateType state

The state of the event.

UInt32 modifiers

Modifier keys pressed during the event (such as Shift, Alt, and Ctrl).

UInt32 timeStamp

The time the event is being started.

Vector2 diffPosition

The coordinates of the cursor relative to the top-left of the screen.

Vector2 unaccelatedPosition

The coordinates of the cursor relative to the top-left of the screen.

Properties

View Source

DeviceClass

Gets the device class the mouse relative event originated from.

Declaration
C#
Copy
public DeviceClassType DeviceClass { get; }
Property Value
Type Description
DeviceClassType
View Source

DeviceSubClass

Gets the device subclass the mouse relative event originated from.

Declaration
C#
Copy
public DeviceSubClassType DeviceSubClass { get; }
Property Value
Type Description
DeviceSubClassType
View Source

DiffPosition

Gets the diff postion (accelated - default)

Declaration
C#
Copy
public Vector2 DiffPosition { get; }
Property Value
Type Description
Vector2
View Source

Modifiers

Gets the modifier keys pressed during the event (such as Shift, Alt, and Ctrl).

Declaration
C#
Copy
public uint Modifiers { get; }
Property Value
Type Description
UInt32
View Source

State

Gets the state of the mouse relative event.

Declaration
C#
Copy
public MouseRelative.StateType State { get; }
Property Value
Type Description
MouseRelative.StateType
View Source

TimeStamp

Gets the time the mouse relative evnet is being started

Declaration
C#
Copy
public uint TimeStamp { get; }
Property Value
Type Description
UInt32
View Source

UnaccelatedPosition

Gets the unaccelated postion (accelated - default)

Declaration
C#
Copy
public Vector2 UnaccelatedPosition { get; }
Property Value
Type Description
Vector2

Methods

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Extension Methods