Class KeyEvent
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
IntPtrkeyval
uintTransfer ownership: Full Nullable: False
modifiers
ModifierTypeTransfer 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
IntPtrkeyval
uintTransfer ownership: None Nullable: False
modifiers
ModifierTypeTransfer ownership: None Nullable: False
Returns
- KeyMatch
Transfer ownership: None Nullable: False