Class EventControllerKey
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class EventControllerKey : EventController, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
EventControllerKey
- Implements
- Inherited Members
Constructors
EventControllerKey(bool, params ConstructArgument[])
protected EventControllerKey(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
EventControllerKey(IntPtr, bool)
protected EventControllerKey(IntPtr ptr, bool ownedRef)
Parameters
Fields
ImUpdateSignal
Signal Descriptor for OnImUpdate.
public static readonly Signal<EventControllerKey> ImUpdateSignal
Field Value
KeyPressedSignal
Signal Descriptor for OnKeyPressed.
public static readonly ReturningSignal<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool> KeyPressedSignal
Field Value
KeyReleasedSignal
Signal Descriptor for OnKeyReleased.
public static readonly Signal<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs> KeyReleasedSignal
Field Value
ModifiersSignal
Signal Descriptor for OnModifiers.
public static readonly ReturningSignal<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool> ModifiersSignal
Field Value
Methods
Forward(Widget)
public bool Forward(Widget widget)
Parameters
widget
Widget
Returns
GetGType()
public static Type GetGType()
Returns
GetGroup()
public uint GetGroup()
Returns
GetImContext()
public IMContext? GetImContext()
Returns
New()
public static EventControllerKey New()
Returns
SetImContext(IMContext?)
public void SetImContext(IMContext? imContext)
Parameters
imContext
IMContext
Events
OnImUpdate
public event SignalHandler<EventControllerKey> OnImUpdate
Event Type
OnKeyPressed
public event ReturningSignalHandler<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool> OnKeyPressed
Event Type
OnKeyReleased
public event SignalHandler<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs> OnKeyReleased
Event Type
OnModifiers
public event ReturningSignalHandler<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool> OnModifiers