Table of Contents

Class KeyEvent

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class KeyEvent
Inheritance
KeyEvent
Inherited Members

Methods

GetConsumedModifiers(IntPtr)

Calls native method gdk_key_event_get_consumed_modifiers.

public static extern ModifierType GetConsumedModifiers(IntPtr @event)

Parameters

event IntPtr

Returns

ModifierType

Transfer ownership: None Nullable: False

GetGType()

Calls native function gdk_key_event_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetKeycode(IntPtr)

Calls native method gdk_key_event_get_keycode.

public static extern uint GetKeycode(IntPtr @event)

Parameters

event IntPtr

Returns

uint

Transfer ownership: None Nullable: False

GetKeyval(IntPtr)

Calls native method gdk_key_event_get_keyval.

public static extern uint GetKeyval(IntPtr @event)

Parameters

event IntPtr

Returns

uint

Transfer ownership: None Nullable: False

GetLayout(IntPtr)

Calls native method gdk_key_event_get_layout.

public static extern uint GetLayout(IntPtr @event)

Parameters

event IntPtr

Returns

uint

Transfer ownership: None Nullable: False

GetLevel(IntPtr)

Calls native method gdk_key_event_get_level.

public static extern uint GetLevel(IntPtr @event)

Parameters

event IntPtr

Returns

uint

Transfer ownership: None Nullable: False

GetMatch(IntPtr, out uint, out ModifierType)

Calls native method gdk_key_event_get_match.

public static extern bool GetMatch(IntPtr @event, out uint keyval, out ModifierType modifiers)

Parameters

event IntPtr
keyval uint

Transfer ownership: Full Nullable: False

modifiers ModifierType

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsModifier(IntPtr)

Calls native method gdk_key_event_is_modifier.

public static extern bool IsModifier(IntPtr @event)

Parameters

event IntPtr

Returns

bool

Transfer ownership: None Nullable: False

Matches(IntPtr, uint, ModifierType)

Calls native method gdk_key_event_matches.

public static extern KeyMatch Matches(IntPtr @event, uint keyval, ModifierType modifiers)

Parameters

event IntPtr
keyval uint

Transfer ownership: None Nullable: False

modifiers ModifierType

Transfer ownership: None Nullable: False

Returns

KeyMatch

Transfer ownership: None Nullable: False