Table of Contents

Class EventControllerLegacy

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class EventControllerLegacy : EventController, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
EventControllerLegacy
Implements
Inherited Members

Constructors

EventControllerLegacy(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public EventControllerLegacy(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

EventControllerLegacy(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EventControllerLegacy(CreationData data)

Parameters

data CreationData

EventControllerLegacy(EventControllerLegacyHandle)

protected EventControllerLegacy(EventControllerLegacyHandle handle)

Parameters

handle EventControllerLegacyHandle

Fields

EventSignal

Signal Descriptor for OnEvent.

public static readonly ReturningSignal<EventControllerLegacy, EventControllerLegacy.EventSignalArgs, bool> EventSignal

Field Value

ReturningSignal<EventControllerLegacy, EventControllerLegacy.EventSignalArgs, bool>

Methods

GetGType()

public static Type GetGType()

Returns

Type

New()

public static EventControllerLegacy New()

Returns

EventControllerLegacy

NewFromPointer(nint, bool)

Creates a new managed EventControllerLegacy instance for a given pointer.

public static EventControllerLegacy NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

EventControllerLegacy

NewWithProperties(ConstructArgument[])

Creates a new EventControllerLegacy and sets the properties specified by the construct arguments.

public static EventControllerLegacy NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

EventControllerLegacy

Events

OnEvent

public event ReturningSignalHandler<EventControllerLegacy, EventControllerLegacy.EventSignalArgs, bool> OnEvent

Event Type

ReturningSignalHandler<EventControllerLegacy, EventControllerLegacy.EventSignalArgs, bool>