Class Device
public class Device
- Inheritance
-
Device
- Inherited Members
Methods
GetCapsLockState(IntPtr)
Calls native method gdk_device_get_caps_lock_state.
public static extern bool GetCapsLockState(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetDeviceTool(IntPtr)
Calls native method gdk_device_get_device_tool.
public static extern IntPtr GetDeviceTool(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetDirection(IntPtr)
Calls native method gdk_device_get_direction.
public static extern Direction GetDirection(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- Direction
Transfer ownership: None Nullable: False
GetDisplay(IntPtr)
Calls native method gdk_device_get_display.
public static extern IntPtr GetDisplay(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetGType()
Calls native function gdk_device_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHasCursor(IntPtr)
Calls native method gdk_device_get_has_cursor.
public static extern bool GetHasCursor(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetModifierState(IntPtr)
Calls native method gdk_device_get_modifier_state.
public static extern ModifierType GetModifierState(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- ModifierType
Transfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method gdk_device_get_name.
public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetNumLockState(IntPtr)
Calls native method gdk_device_get_num_lock_state.
public static extern bool GetNumLockState(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetNumTouches(IntPtr)
Calls native method gdk_device_get_num_touches.
public static extern uint GetNumTouches(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetProductId(IntPtr)
Calls native method gdk_device_get_product_id.
public static extern NullableUtf8StringUnownedHandle GetProductId(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetScrollLockState(IntPtr)
Calls native method gdk_device_get_scroll_lock_state.
public static extern bool GetScrollLockState(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetSeat(IntPtr)
Calls native method gdk_device_get_seat.
public static extern IntPtr GetSeat(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetSource(IntPtr)
Calls native method gdk_device_get_source.
public static extern InputSource GetSource(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- InputSource
Transfer ownership: None Nullable: False
GetSurfaceAtPosition(IntPtr, out double, out double)
Calls native method gdk_device_get_surface_at_position.
public static extern IntPtr GetSurfaceAtPosition(IntPtr device, out double winX, out double winY)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
winX
doubleTransfer ownership: Full Nullable: False
winY
doubleTransfer ownership: Full Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetTimestamp(IntPtr)
Calls native method gdk_device_get_timestamp. Version: 4.2
[Version("4.2")]
public static extern uint GetTimestamp(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetVendorId(IntPtr)
Calls native method gdk_device_get_vendor_id.
public static extern NullableUtf8StringUnownedHandle GetVendorId(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
HasBidiLayouts(IntPtr)
Calls native method gdk_device_has_bidi_layouts.
public static extern bool HasBidiLayouts(IntPtr device)
Parameters
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False