Table of Contents

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 bool
constructArguments ConstructArgument[]

EventControllerKey(IntPtr, bool)

protected EventControllerKey(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ImUpdateSignal

Signal Descriptor for OnImUpdate.

public static readonly Signal<EventControllerKey> ImUpdateSignal

Field Value

Signal<EventControllerKey>

KeyPressedSignal

Signal Descriptor for OnKeyPressed.

public static readonly ReturningSignal<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool> KeyPressedSignal

Field Value

ReturningSignal<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool>

KeyReleasedSignal

Signal Descriptor for OnKeyReleased.

public static readonly Signal<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs> KeyReleasedSignal

Field Value

Signal<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs>

ModifiersSignal

Signal Descriptor for OnModifiers.

public static readonly ReturningSignal<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool> ModifiersSignal

Field Value

ReturningSignal<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool>

Methods

Forward(Widget)

public bool Forward(Widget widget)

Parameters

widget Widget

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetGroup()

public uint GetGroup()

Returns

uint

GetImContext()

public IMContext? GetImContext()

Returns

IMContext

New()

public static EventControllerKey New()

Returns

EventControllerKey

SetImContext(IMContext?)

public void SetImContext(IMContext? imContext)

Parameters

imContext IMContext

Events

OnImUpdate

public event SignalHandler<EventControllerKey> OnImUpdate

Event Type

SignalHandler<EventControllerKey>

OnKeyPressed

public event ReturningSignalHandler<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool> OnKeyPressed

Event Type

ReturningSignalHandler<EventControllerKey, EventControllerKey.KeyPressedSignalArgs, bool>

OnKeyReleased

public event SignalHandler<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs> OnKeyReleased

Event Type

SignalHandler<EventControllerKey, EventControllerKey.KeyReleasedSignalArgs>

OnModifiers

public event ReturningSignalHandler<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool> OnModifiers

Event Type

ReturningSignalHandler<EventControllerKey, EventControllerKey.ModifiersSignalArgs, bool>