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
constructArgumentsConstructArgument[]
EventControllerFocus(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EventControllerFocus(CreationData data)
Parameters
dataCreationData
EventControllerFocus(EventControllerFocusHandle)
protected EventControllerFocus(EventControllerFocusHandle handle)
Parameters
handleEventControllerFocusHandle
Fields
ContainsFocusPropertyDefinition
public static readonly Property<bool, EventControllerFocus> ContainsFocusPropertyDefinition
Field Value
EnterSignal
Signal Descriptor for OnEnter.
public static readonly Signal<EventControllerFocus> EnterSignal
Field Value
IsFocusPropertyDefinition
public static readonly Property<bool, EventControllerFocus> IsFocusPropertyDefinition
Field Value
LeaveSignal
Signal Descriptor for OnLeave.
public static readonly Signal<EventControllerFocus> LeaveSignal
Field Value
Properties
ContainsFocus
public bool ContainsFocus { get; }
Property Value
IsFocus
public bool IsFocus { get; }
Property Value
Methods
GetContainsFocus()
public bool GetContainsFocus()
Returns
GetGType()
public static Type GetGType()
Returns
GetIsFocus()
public bool GetIsFocus()
Returns
New()
public static EventControllerFocus New()
Returns
NewFromPointer(nint, bool)
Creates a new managed EventControllerFocus instance for a given pointer.
public static EventControllerFocus NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EventControllerFocus and sets the properties specified by the construct arguments.
public static EventControllerFocus NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnEnter
public event SignalHandler<EventControllerFocus> OnEnter
Event Type
OnLeave
public event SignalHandler<EventControllerFocus> OnLeave