Table of Contents

Class EventController

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class EventController : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
EventController
Implements
Derived
Inherited Members

Constructors

EventController(bool, params ConstructArgument[])

protected EventController(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

EventController(IntPtr, bool)

protected EventController(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

NamePropertyDefinition

public static readonly Property<string?, EventController> NamePropertyDefinition

Field Value

Property<string, EventController>

PropagationLimitPropertyDefinition

public static readonly Property<PropagationLimit, EventController> PropagationLimitPropertyDefinition

Field Value

Property<PropagationLimit, EventController>

PropagationPhasePropertyDefinition

public static readonly Property<PropagationPhase, EventController> PropagationPhasePropertyDefinition

Field Value

Property<PropagationPhase, EventController>

WidgetPropertyDefinition

public static readonly Property<Widget?, EventController> WidgetPropertyDefinition

Field Value

Property<Widget, EventController>

Properties

Name

public string? Name { get; set; }

Property Value

string

PropagationLimit

public PropagationLimit PropagationLimit { get; set; }

Property Value

PropagationLimit

PropagationPhase

public PropagationPhase PropagationPhase { get; set; }

Property Value

PropagationPhase

Widget

public Widget? Widget { get; }

Property Value

Widget

Methods

GetCurrentEvent()

public Event? GetCurrentEvent()

Returns

Event

GetCurrentEventDevice()

public Device? GetCurrentEventDevice()

Returns

Device

GetCurrentEventState()

public ModifierType GetCurrentEventState()

Returns

ModifierType

GetCurrentEventTime()

public uint GetCurrentEventTime()

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetName()

public string? GetName()

Returns

string

GetPropagationLimit()

public PropagationLimit GetPropagationLimit()

Returns

PropagationLimit

GetPropagationPhase()

public PropagationPhase GetPropagationPhase()

Returns

PropagationPhase

GetWidget()

public Widget GetWidget()

Returns

Widget

Reset()

public void Reset()

SetName(string?)

public void SetName(string? name)

Parameters

name string

SetPropagationLimit(PropagationLimit)

public void SetPropagationLimit(PropagationLimit limit)

Parameters

limit PropagationLimit

SetPropagationPhase(PropagationPhase)

public void SetPropagationPhase(PropagationPhase phase)

Parameters

phase PropagationPhase

SetStaticName(string?)

[Version("4.8")]
public void SetStaticName(string? name)

Parameters

name string