Table of Contents

Class PadController

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

Methods

GetGType()

Calls native function gtk_pad_controller_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(IntPtr, IntPtr)

Calls native constructor gtk_pad_controller_new.

public static extern IntPtr New(IntPtr group, IntPtr pad)

Parameters

group IntPtr

Transfer ownership: None Nullable: False

pad IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetAction(IntPtr, PadActionType, int, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method gtk_pad_controller_set_action.

public static extern void SetAction(IntPtr controller, PadActionType type, int index, int mode, NonNullableUtf8StringHandle label, NonNullableUtf8StringHandle actionName)

Parameters

controller IntPtr

Transfer ownership: None Nullable: False

type PadActionType

Transfer ownership: None Nullable: False

index int

Transfer ownership: None Nullable: False

mode int

Transfer ownership: None Nullable: False

label NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetActionEntries(IntPtr, PadActionEntryArrayHandle, int)

Calls native method gtk_pad_controller_set_action_entries.

public static extern void SetActionEntries(IntPtr controller, PadActionEntryArrayHandle entries, int nEntries)

Parameters

controller IntPtr

Transfer ownership: None Nullable: False

entries PadActionEntryArrayHandle

Transfer ownership: None Nullable: False

nEntries int

Transfer ownership: None Nullable: False