Class PopoverBin
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class PopoverBin : Widget, Accessible, Buildable, ConstraintTarget, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
PopoverBin
- Implements
- Inherited Members
Constructors
PopoverBin(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 PopoverBin(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
PopoverBin(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PopoverBin(CreationData data)
Parameters
dataCreationData
PopoverBin(PopoverBinHandle)
protected PopoverBin(PopoverBinHandle handle)
Parameters
handlePopoverBinHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, PopoverBin> ChildPropertyDefinition
Field Value
HandleInputPropertyDefinition
public static readonly Property<bool, PopoverBin> HandleInputPropertyDefinition
Field Value
MenuModelPropertyDefinition
public static readonly Property<MenuModel?, PopoverBin> MenuModelPropertyDefinition
Field Value
PopoverPropertyDefinition
public static readonly Property<Popover?, PopoverBin> PopoverPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
HandleInput
public bool HandleInput { get; set; }
Property Value
MenuModel
public MenuModel? MenuModel { get; set; }
Property Value
Popover
public Popover? Popover { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleId()
[Version("4.22")]
public string? GetAccessibleId()
Returns
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()
[Version("4.22")]
public Widget? GetChild()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHandleInput()
public bool GetHandleInput()
Returns
GetMenuModel()
[Version("4.22")]
public MenuModel? GetMenuModel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetPopover()
[Version("4.22")]
public Widget? GetPopover()
Returns
New()
[Version("4.22")]
public static PopoverBin New()
Returns
NewFromPointer(nint, bool)
Creates a new managed PopoverBin instance for a given pointer.
public static PopoverBin NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new PopoverBin and sets the properties specified by the construct arguments.
public static PopoverBin NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Popdown()
[Version("4.22")]
public void Popdown()
Popup()
[Version("4.22")]
public void Popup()
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetChild(Widget?)
[Version("4.22")]
public void SetChild(Widget? child)
Parameters
childWidget
SetHandleInput(bool)
[Version("4.22")]
public void SetHandleInput(bool handleInput)
Parameters
handleInputbool
SetMenuModel(MenuModel?)
[Version("4.22")]
public void SetMenuModel(MenuModel? model)
Parameters
modelMenuModel
SetPopover(Widget?)
[Version("4.22")]
public void SetPopover(Widget? popover)
Parameters
popoverWidget
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState