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
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, Overlay> ChildPropertyDefinition
Field Value
GetChildPositionSignal
Signal Descriptor for OnGetChildPosition.
public static readonly ReturningSignal<Overlay, Overlay.GetChildPositionSignalArgs, bool> GetChildPositionSignal
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
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
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetChild()
public Widget? GetChild()
Returns
GetClipOverlay(Widget)
public bool GetClipOverlay(Widget widget)
Parameters
widget
Widget
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetMeasureOverlay(Widget)
public bool GetMeasureOverlay(Widget widget)
Parameters
widget
Widget
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
New()
public static Overlay New()
Returns
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
AccessiblenextSibling
Accessible
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
child
Widget
SetClipOverlay(Widget, bool)
public void SetClipOverlay(Widget widget, bool clipOverlay)
Parameters
SetMeasureOverlay(Widget, bool)
public void SetMeasureOverlay(Widget widget, bool measure)
Parameters
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnGetChildPosition
public event ReturningSignalHandler<Overlay, Overlay.GetChildPositionSignalArgs, bool> OnGetChildPosition