Table of Contents

Class Overlay

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class Overlay : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
Overlay
Implements
Inherited Members

Constructors

Overlay()

public Overlay()

Overlay(params ConstructArgument[])

protected Overlay(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Overlay(IntPtr, bool)

protected Overlay(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, Overlay> ChildPropertyDefinition

Field Value

Property<Widget, Overlay>

GetChildPositionSignal

Signal Descriptor for OnGetChildPosition.

public static readonly ReturningSignal<Overlay, Overlay.GetChildPositionSignalArgs, bool> GetChildPositionSignal

Field Value

ReturningSignal<Overlay, Overlay.GetChildPositionSignalArgs, bool>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Child

public Widget? Child { get; set; }

Property Value

Widget

Methods

AddOverlay(Widget)

public void AddOverlay(Widget widget)

Parameters

widget Widget

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetChild()

public Widget? GetChild()

Returns

Widget

GetClipOverlay(Widget)

public bool GetClipOverlay(Widget widget)

Parameters

widget Widget

Returns

bool

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMeasureOverlay(Widget)

public bool GetMeasureOverlay(Widget widget)

Parameters

widget Widget

Returns

bool

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

New()

public static Overlay New()

Returns

Overlay

RemoveOverlay(Widget)

public void RemoveOverlay(Widget widget)

Parameters

widget Widget

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetChild(Widget?)

public void SetChild(Widget? child)

Parameters

child Widget

SetClipOverlay(Widget, bool)

public void SetClipOverlay(Widget widget, bool clipOverlay)

Parameters

widget Widget
clipOverlay bool

SetMeasureOverlay(Widget, bool)

public void SetMeasureOverlay(Widget widget, bool measure)

Parameters

widget Widget
measure bool

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

OnGetChildPosition

public event ReturningSignalHandler<Overlay, Overlay.GetChildPositionSignalArgs, bool> OnGetChildPosition

Event Type

ReturningSignalHandler<Overlay, Overlay.GetChildPositionSignalArgs, bool>