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
Fields
FlagsPropertyDefinition
public static readonly Property<PopoverMenuFlags, PopoverMenu> FlagsPropertyDefinition
Field Value
MenuModelPropertyDefinition
public static readonly Property<MenuModel?, PopoverMenu> MenuModelPropertyDefinition
Field Value
VisibleSubmenuPropertyDefinition
public static readonly Property<string?, PopoverMenu> VisibleSubmenuPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Flags
public PopoverMenuFlags Flags { get; set; }
Property Value
MenuModel
public MenuModel? MenuModel { get; set; }
Property Value
VisibleSubmenu
public string? VisibleSubmenu { get; set; }
Property Value
Methods
AddChild(Widget, string)
public bool AddChild(Widget child, string id)
Parameters
Returns
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
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetFlags()
[Version("4.14")]
public PopoverMenuFlags GetFlags()
Returns
GetGType()
public static Type GetGType()
Returns
GetMenuModel()
public MenuModel? GetMenuModel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetRenderer()
public Renderer? GetRenderer()
Returns
GetSurface()
public Surface? GetSurface()
Returns
GetSurfaceTransform(out double, out double)
public void GetSurfaceTransform(out double x, out double y)
Parameters
NewFromModel(MenuModel?)
public static PopoverMenu NewFromModel(MenuModel? model)
Parameters
model
MenuModel
Returns
NewFromModelFull(MenuModel, PopoverMenuFlags)
public static PopoverMenu NewFromModelFull(MenuModel model, PopoverMenuFlags flags)
Parameters
model
MenuModelflags
PopoverMenuFlags
Returns
Realize()
public void Realize()
RemoveChild(Widget)
public bool RemoveChild(Widget child)
Parameters
child
Widget
Returns
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
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