Class PopupLayout
public class PopupLayout
- Inheritance
-
PopupLayout
- Inherited Members
Methods
Copy(PopupLayoutHandle)
Calls native method gdk_popup_layout_copy.
public static extern PopupLayoutOwnedHandle Copy(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- PopupLayoutOwnedHandle
Transfer ownership: Full Nullable: False
Equal(PopupLayoutHandle, PopupLayoutHandle)
Calls native method gdk_popup_layout_equal.
public static extern bool Equal(PopupLayoutHandle layout, PopupLayoutHandle other)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
other
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetAnchorHints(PopupLayoutHandle)
Calls native method gdk_popup_layout_get_anchor_hints.
public static extern AnchorHints GetAnchorHints(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- AnchorHints
Transfer ownership: None Nullable: False
GetAnchorRect(PopupLayoutHandle)
Calls native method gdk_popup_layout_get_anchor_rect.
public static extern RectangleUnownedHandle GetAnchorRect(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- RectangleUnownedHandle
Transfer ownership: None Nullable: False
GetGType()
Calls native function gdk_popup_layout_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetOffset(PopupLayoutHandle, out int, out int)
Calls native method gdk_popup_layout_get_offset.
public static extern void GetOffset(PopupLayoutHandle layout, out int dx, out int dy)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
dx
intTransfer ownership: Full Nullable: False
dy
intTransfer ownership: Full Nullable: False
GetRectAnchor(PopupLayoutHandle)
Calls native method gdk_popup_layout_get_rect_anchor.
public static extern Gravity GetRectAnchor(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- Gravity
Transfer ownership: None Nullable: False
GetShadowWidth(PopupLayoutHandle, out int, out int, out int, out int)
Calls native method gdk_popup_layout_get_shadow_width. Version: 4.2
[Version("4.2")]
public static extern void GetShadowWidth(PopupLayoutHandle layout, out int left, out int right, out int top, out int bottom)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
left
intTransfer ownership: Full Nullable: False
right
intTransfer ownership: Full Nullable: False
top
intTransfer ownership: Full Nullable: False
bottom
intTransfer ownership: Full Nullable: False
GetSurfaceAnchor(PopupLayoutHandle)
Calls native method gdk_popup_layout_get_surface_anchor.
public static extern Gravity GetSurfaceAnchor(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- Gravity
Transfer ownership: None Nullable: False
New(RectangleHandle, Gravity, Gravity)
Calls native constructor gdk_popup_layout_new.
public static extern PopupLayoutOwnedHandle New(RectangleHandle anchorRect, Gravity rectAnchor, Gravity surfaceAnchor)
Parameters
anchorRect
RectangleHandleTransfer ownership: None Nullable: False
rectAnchor
GravityTransfer ownership: None Nullable: False
surfaceAnchor
GravityTransfer ownership: None Nullable: False
Returns
- PopupLayoutOwnedHandle
Transfer ownership: Full Nullable: False
Ref(PopupLayoutHandle)
Calls native method gdk_popup_layout_ref.
public static extern PopupLayoutOwnedHandle Ref(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
Returns
- PopupLayoutOwnedHandle
Transfer ownership: Full Nullable: False
SetAnchorHints(PopupLayoutHandle, AnchorHints)
Calls native method gdk_popup_layout_set_anchor_hints.
public static extern void SetAnchorHints(PopupLayoutHandle layout, AnchorHints anchorHints)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
anchorHints
AnchorHintsTransfer ownership: None Nullable: False
SetAnchorRect(PopupLayoutHandle, RectangleHandle)
Calls native method gdk_popup_layout_set_anchor_rect.
public static extern void SetAnchorRect(PopupLayoutHandle layout, RectangleHandle anchorRect)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
anchorRect
RectangleHandleTransfer ownership: None Nullable: False
SetOffset(PopupLayoutHandle, int, int)
Calls native method gdk_popup_layout_set_offset.
public static extern void SetOffset(PopupLayoutHandle layout, int dx, int dy)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
dx
intTransfer ownership: None Nullable: False
dy
intTransfer ownership: None Nullable: False
SetRectAnchor(PopupLayoutHandle, Gravity)
Calls native method gdk_popup_layout_set_rect_anchor.
public static extern void SetRectAnchor(PopupLayoutHandle layout, Gravity anchor)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
anchor
GravityTransfer ownership: None Nullable: False
SetShadowWidth(PopupLayoutHandle, int, int, int, int)
Calls native method gdk_popup_layout_set_shadow_width. Version: 4.2
[Version("4.2")]
public static extern void SetShadowWidth(PopupLayoutHandle layout, int left, int right, int top, int bottom)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
left
intTransfer ownership: None Nullable: False
right
intTransfer ownership: None Nullable: False
top
intTransfer ownership: None Nullable: False
bottom
intTransfer ownership: None Nullable: False
SetSurfaceAnchor(PopupLayoutHandle, Gravity)
Calls native method gdk_popup_layout_set_surface_anchor.
public static extern void SetSurfaceAnchor(PopupLayoutHandle layout, Gravity anchor)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False
anchor
GravityTransfer ownership: None Nullable: False
Unref(PopupLayoutHandle)
Calls native method gdk_popup_layout_unref.
public static extern void Unref(PopupLayoutHandle layout)
Parameters
layout
PopupLayoutHandleTransfer ownership: None Nullable: False