Table of Contents

Class GestureStylus

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class GestureStylus
Inheritance
GestureStylus
Inherited Members

Methods

GetAxes(IntPtr, IntPtr, out double[])

Calls native method gtk_gesture_stylus_get_axes.

public static extern bool GetAxes(IntPtr gesture, IntPtr axes, out double[] values)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

axes IntPtr

Transfer ownership: None Nullable: False

values double[]

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetAxis(IntPtr, AxisUse, out double)

Calls native method gtk_gesture_stylus_get_axis.

public static extern bool GetAxis(IntPtr gesture, AxisUse axis, out double value)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

axis AxisUse

Transfer ownership: None Nullable: False

value double

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetBacklog(IntPtr, ref IntPtr, out uint)

Calls native method gtk_gesture_stylus_get_backlog.

public static extern bool GetBacklog(IntPtr gesture, ref IntPtr backlog, out uint nElems)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

backlog IntPtr

Transfer ownership: Full Nullable: False

nElems uint

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetDeviceTool(IntPtr)

Calls native method gtk_gesture_stylus_get_device_tool.

public static extern IntPtr GetDeviceTool(IntPtr gesture)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_gesture_stylus_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetStylusOnly(IntPtr)

Calls native method gtk_gesture_stylus_get_stylus_only. Version: 4.10

[Version("4.10")]
public static extern bool GetStylusOnly(IntPtr gesture)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_gesture_stylus_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetStylusOnly(IntPtr, bool)

Calls native method gtk_gesture_stylus_set_stylus_only. Version: 4.10

[Version("4.10")]
public static extern void SetStylusOnly(IntPtr gesture, bool stylusOnly)

Parameters

gesture IntPtr

Transfer ownership: None Nullable: False

stylusOnly bool

Transfer ownership: None Nullable: False