Table of Contents

Class Popover

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

Constructors

Popover()

public Popover()

Popover(params ConstructArgument[])

protected Popover(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Popover(IntPtr, bool)

protected Popover(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ActivateDefaultSignal

Signal Descriptor for OnActivateDefault.

public static readonly Signal<Popover> ActivateDefaultSignal

Field Value

Signal<Popover>

AutohidePropertyDefinition

public static readonly Property<bool, Popover> AutohidePropertyDefinition

Field Value

Property<bool, Popover>

CascadePopdownPropertyDefinition

public static readonly Property<bool, Popover> CascadePopdownPropertyDefinition

Field Value

Property<bool, Popover>

ChildPropertyDefinition

public static readonly Property<Widget?, Popover> ChildPropertyDefinition

Field Value

Property<Widget, Popover>

ClosedSignal

Signal Descriptor for OnClosed.

public static readonly Signal<Popover> ClosedSignal

Field Value

Signal<Popover>

DefaultWidgetPropertyDefinition

public static readonly Property<Widget?, Popover> DefaultWidgetPropertyDefinition

Field Value

Property<Widget, Popover>

HasArrowPropertyDefinition

public static readonly Property<bool, Popover> HasArrowPropertyDefinition

Field Value

Property<bool, Popover>

MnemonicsVisiblePropertyDefinition

public static readonly Property<bool, Popover> MnemonicsVisiblePropertyDefinition

Field Value

Property<bool, Popover>

PointingToPropertyDefinition

public static readonly Property<Rectangle, Popover> PointingToPropertyDefinition

Field Value

Property<Rectangle, Popover>

PositionPropertyDefinition

public static readonly Property<PositionType, Popover> PositionPropertyDefinition

Field Value

Property<PositionType, Popover>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Autohide

public bool Autohide { get; set; }

Property Value

bool

CascadePopdown

public bool CascadePopdown { get; set; }

Property Value

bool

Child

public Widget? Child { get; set; }

Property Value

Widget

DefaultWidget

public Widget? DefaultWidget { get; set; }

Property Value

Widget

HasArrow

public bool HasArrow { get; set; }

Property Value

bool

MnemonicsVisible

public bool MnemonicsVisible { get; set; }

Property Value

bool

PointingTo

public Rectangle PointingTo { get; set; }

Property Value

Rectangle

Position

public PositionType Position { get; set; }

Property Value

PositionType

Methods

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

GetAutohide()

public bool GetAutohide()

Returns

bool

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

GetCascadePopdown()

public bool GetCascadePopdown()

Returns

bool

GetChild()

public Widget? GetChild()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHasArrow()

public bool GetHasArrow()

Returns

bool

GetMnemonicsVisible()

public bool GetMnemonicsVisible()

Returns

bool

GetNextAccessibleSibling()

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

Returns

Accessible

GetOffset(out int, out int)

public void GetOffset(out int xOffset, out int yOffset)

Parameters

xOffset int
yOffset int

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetPosition()

public PositionType GetPosition()

Returns

PositionType

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

New()

public static Popover New()

Returns

Popover

Popdown()

public void Popdown()

Popup()

public void Popup()

Present()

public void Present()

Realize()

public void Realize()

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

SetAutohide(bool)

public void SetAutohide(bool autohide)

Parameters

autohide bool

SetCascadePopdown(bool)

public void SetCascadePopdown(bool cascadePopdown)

Parameters

cascadePopdown bool

SetChild(Widget?)

public void SetChild(Widget? child)

Parameters

child Widget

SetDefaultWidget(Widget?)

public void SetDefaultWidget(Widget? widget)

Parameters

widget Widget

SetHasArrow(bool)

public void SetHasArrow(bool hasArrow)

Parameters

hasArrow bool

SetMnemonicsVisible(bool)

public void SetMnemonicsVisible(bool mnemonicsVisible)

Parameters

mnemonicsVisible bool

SetOffset(int, int)

public void SetOffset(int xOffset, int yOffset)

Parameters

xOffset int
yOffset int

SetPointingTo(Rectangle?)

public void SetPointingTo(Rectangle? rect)

Parameters

rect Rectangle

SetPosition(PositionType)

public void SetPosition(PositionType position)

Parameters

position PositionType

Unrealize()

public void Unrealize()

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

Events

OnActivateDefault

public event SignalHandler<Popover> OnActivateDefault

Event Type

SignalHandler<Popover>

OnClosed

public event SignalHandler<Popover> OnClosed

Event Type

SignalHandler<Popover>