Table of Contents

Class PopoverMenu

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class PopoverMenu : Popover, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Native, ShortcutManager, IHandle, GTypeProvider
Inheritance
PopoverMenu
Implements
Inherited Members

Constructors

PopoverMenu()

public PopoverMenu()

PopoverMenu(params ConstructArgument[])

protected PopoverMenu(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

PopoverMenu(IntPtr, bool)

protected PopoverMenu(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

FlagsPropertyDefinition

public static readonly Property<PopoverMenuFlags, PopoverMenu> FlagsPropertyDefinition

Field Value

Property<PopoverMenuFlags, PopoverMenu>

MenuModelPropertyDefinition

public static readonly Property<MenuModel?, PopoverMenu> MenuModelPropertyDefinition

Field Value

Property<MenuModel, PopoverMenu>

VisibleSubmenuPropertyDefinition

public static readonly Property<string?, PopoverMenu> VisibleSubmenuPropertyDefinition

Field Value

Property<string, PopoverMenu>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Flags

public PopoverMenuFlags Flags { get; set; }

Property Value

PopoverMenuFlags

MenuModel

public MenuModel? MenuModel { get; set; }

Property Value

MenuModel

VisibleSubmenu

public string? VisibleSubmenu { get; set; }

Property Value

string

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

GetFlags()

[Version("4.14")]
public PopoverMenuFlags GetFlags()

Returns

PopoverMenuFlags

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

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

NewFromModel(MenuModel?)

public static PopoverMenu NewFromModel(MenuModel? model)

Parameters

model MenuModel

Returns

PopoverMenu

NewFromModelFull(MenuModel, PopoverMenuFlags)

public static PopoverMenu NewFromModelFull(MenuModel model, PopoverMenuFlags flags)

Parameters

model MenuModel
flags PopoverMenuFlags

Returns

PopoverMenu

Realize()

public void Realize()

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

SetFlags(PopoverMenuFlags)

[Version("4.14")]
public void SetFlags(PopoverMenuFlags flags)

Parameters

flags PopoverMenuFlags

SetMenuModel(MenuModel?)

public void SetMenuModel(MenuModel? model)

Parameters

model MenuModel

Unrealize()

public void Unrealize()

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible