Table of Contents

Class PopoverMenuBar

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class PopoverMenuBar : Widget, Accessible, Buildable, ConstraintTarget, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
PopoverMenuBar
Implements
Inherited Members

Constructors

PopoverMenuBar(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 PopoverMenuBar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

PopoverMenuBar(CreationData)

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

Parameters

data CreationData

PopoverMenuBar(PopoverMenuBarHandle)

protected PopoverMenuBar(PopoverMenuBarHandle handle)

Parameters

handle PopoverMenuBarHandle

Fields

MenuModelPropertyDefinition

public static readonly Property<MenuModel?, PopoverMenuBar> MenuModelPropertyDefinition

Field Value

Property<MenuModel, PopoverMenuBar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

MenuModel

public MenuModel? MenuModel { get; set; }

Property Value

MenuModel

Methods

AddChild(Widget, string)

public bool AddChild(Widget child, string id)

Parameters

child Widget
id string

Returns

bool

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

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMenuModel()

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

NewFromModel(MenuModel?)

public static PopoverMenuBar NewFromModel(MenuModel? model)

Parameters

model MenuModel

Returns

PopoverMenuBar

NewFromPointer(nint, bool)

Creates a new managed PopoverMenuBar instance for a given pointer.

public static PopoverMenuBar NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

PopoverMenuBar

NewWithProperties(ConstructArgument[])

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

public static PopoverMenuBar NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

PopoverMenuBar

RemoveChild(Widget)

public bool RemoveChild(Widget child)

Parameters

child Widget

Returns

bool

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

SetMenuModel(MenuModel?)

public void SetMenuModel(MenuModel? model)

Parameters

model MenuModel

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