Table of Contents

Class EventControllerFocus

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

Constructors

EventControllerFocus(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 EventControllerFocus(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

EventControllerFocus(CreationData)

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

Parameters

data CreationData

EventControllerFocus(EventControllerFocusHandle)

protected EventControllerFocus(EventControllerFocusHandle handle)

Parameters

handle EventControllerFocusHandle

Fields

ContainsFocusPropertyDefinition

public static readonly Property<bool, EventControllerFocus> ContainsFocusPropertyDefinition

Field Value

Property<bool, EventControllerFocus>

EnterSignal

Signal Descriptor for OnEnter.

public static readonly Signal<EventControllerFocus> EnterSignal

Field Value

Signal<EventControllerFocus>

IsFocusPropertyDefinition

public static readonly Property<bool, EventControllerFocus> IsFocusPropertyDefinition

Field Value

Property<bool, EventControllerFocus>

LeaveSignal

Signal Descriptor for OnLeave.

public static readonly Signal<EventControllerFocus> LeaveSignal

Field Value

Signal<EventControllerFocus>

Properties

ContainsFocus

public bool ContainsFocus { get; }

Property Value

bool

IsFocus

public bool IsFocus { get; }

Property Value

bool

Methods

GetContainsFocus()

public bool GetContainsFocus()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetIsFocus()

public bool GetIsFocus()

Returns

bool

New()

public static EventControllerFocus New()

Returns

EventControllerFocus

NewFromPointer(nint, bool)

Creates a new managed EventControllerFocus instance for a given pointer.

public static EventControllerFocus NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

EventControllerFocus

NewWithProperties(ConstructArgument[])

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

public static EventControllerFocus NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

EventControllerFocus

Events

OnEnter

public event SignalHandler<EventControllerFocus> OnEnter

Event Type

SignalHandler<EventControllerFocus>

OnLeave

public event SignalHandler<EventControllerFocus> OnLeave

Event Type

SignalHandler<EventControllerFocus>