Class PopupLayout
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class PopupLayout : BoxedRecord, IEquatable<PopupLayout>
- Inheritance
-
PopupLayout
- Implements
- Inherited Members
Constructors
PopupLayout(PopupLayoutOwnedHandle)
public PopupLayout(PopupLayoutOwnedHandle handle)
Parameters
handle
PopupLayoutOwnedHandle
Properties
Handle
public PopupLayoutOwnedHandle Handle { get; }
Property Value
Methods
Copy()
public PopupLayout Copy()
Returns
Equal(PopupLayout)
public bool Equal(PopupLayout other)
Parameters
other
PopupLayout
Returns
Equals(PopupLayout?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PopupLayout? other)
Parameters
other
PopupLayoutAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetAnchorHints()
public AnchorHints GetAnchorHints()
Returns
GetAnchorRect()
public Rectangle GetAnchorRect()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetOffset(out int, out int)
public void GetOffset(out int dx, out int dy)
Parameters
GetRectAnchor()
public Gravity GetRectAnchor()
Returns
GetShadowWidth(out int, out int, out int, out int)
[Version("4.2")]
public void GetShadowWidth(out int left, out int right, out int top, out int bottom)
Parameters
GetSurfaceAnchor()
public Gravity GetSurfaceAnchor()
Returns
New(Rectangle, Gravity, Gravity)
public static PopupLayout New(Rectangle anchorRect, Gravity rectAnchor, Gravity surfaceAnchor)
Parameters
Returns
Ref()
public PopupLayout Ref()
Returns
SetAnchorHints(AnchorHints)
public void SetAnchorHints(AnchorHints anchorHints)
Parameters
anchorHints
AnchorHints
SetAnchorRect(Rectangle)
public void SetAnchorRect(Rectangle anchorRect)
Parameters
anchorRect
Rectangle
SetOffset(int, int)
public void SetOffset(int dx, int dy)
Parameters
SetRectAnchor(Gravity)
public void SetRectAnchor(Gravity anchor)
Parameters
anchor
Gravity
SetShadowWidth(int, int, int, int)
[Version("4.2")]
public void SetShadowWidth(int left, int right, int top, int bottom)
Parameters
SetSurfaceAnchor(Gravity)
public void SetSurfaceAnchor(Gravity anchor)
Parameters
anchor
Gravity
Unref()
public void Unref()