Table of Contents

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

constructArguments ConstructArgument[]

PopoverBin(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PopoverBin(CreationData data)

Parameters

data CreationData

PopoverBin(PopoverBinHandle)

protected PopoverBin(PopoverBinHandle handle)

Parameters

handle PopoverBinHandle

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, PopoverBin> ChildPropertyDefinition

Field Value

Property<Widget, PopoverBin>

HandleInputPropertyDefinition

public static readonly Property<bool, PopoverBin> HandleInputPropertyDefinition

Field Value

Property<bool, PopoverBin>

MenuModelPropertyDefinition

public static readonly Property<MenuModel?, PopoverBin> MenuModelPropertyDefinition

Field Value

Property<MenuModel, PopoverBin>

PopoverPropertyDefinition

public static readonly Property<Popover?, PopoverBin> PopoverPropertyDefinition

Field Value

Property<Popover, PopoverBin>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Child

public Widget? Child { get; set; }

Property Value

Widget

HandleInput

public bool HandleInput { get; set; }

Property Value

bool

MenuModel

public MenuModel? MenuModel { get; set; }

Property Value

MenuModel

Popover

public Popover? Popover { get; set; }

Property Value

Popover

Methods

Announce(string, AccessibleAnnouncementPriority)

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

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleId()

[Version("4.22")]
public string? GetAccessibleId()

Returns

string

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()

[Version("4.22")]
public Widget? GetChild()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHandleInput()

public bool GetHandleInput()

Returns

bool

GetMenuModel()

[Version("4.22")]
public MenuModel? GetMenuModel()

Returns

MenuModel

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetPopover()

[Version("4.22")]
public Widget? GetPopover()

Returns

Widget

New()

[Version("4.22")]
public static PopoverBin New()

Returns

PopoverBin

NewFromPointer(nint, bool)

Creates a new managed PopoverBin instance for a given pointer.

public static PopoverBin NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

PopoverBin

NewWithProperties(ConstructArgument[])

Creates a new PopoverBin and sets the properties specified by the construct arguments.

public static PopoverBin NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

PopoverBin

Popdown()

[Version("4.22")]
public void Popdown()

Popup()

[Version("4.22")]
public void Popup()

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?)

[Version("4.22")]
public void SetChild(Widget? child)

Parameters

child Widget

SetHandleInput(bool)

[Version("4.22")]
public void SetHandleInput(bool handleInput)

Parameters

handleInput bool

SetMenuModel(MenuModel?)

[Version("4.22")]
public void SetMenuModel(MenuModel? model)

Parameters

model MenuModel

SetPopover(Widget?)

[Version("4.22")]
public void SetPopover(Widget? popover)

Parameters

popover Widget

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

UpdatePlatformState(AccessiblePlatformState)

[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState