Table of Contents

Class Popup

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class Popup
Inheritance
Popup
Inherited Members

Methods

GetAutohide(IntPtr)

Calls native method gdk_popup_get_autohide.

public static extern bool GetAutohide(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gdk_popup_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetParent(IntPtr)

Calls native method gdk_popup_get_parent.

public static extern IntPtr GetParent(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetPositionX(IntPtr)

Calls native method gdk_popup_get_position_x.

public static extern int GetPositionX(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetPositionY(IntPtr)

Calls native method gdk_popup_get_position_y.

public static extern int GetPositionY(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetRectAnchor(IntPtr)

Calls native method gdk_popup_get_rect_anchor.

public static extern Gravity GetRectAnchor(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

Gravity

Transfer ownership: None Nullable: False

GetSurfaceAnchor(IntPtr)

Calls native method gdk_popup_get_surface_anchor.

public static extern Gravity GetSurfaceAnchor(IntPtr popup)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

Returns

Gravity

Transfer ownership: None Nullable: False

Present(IntPtr, int, int, PopupLayoutHandle)

Calls native method gdk_popup_present.

public static extern bool Present(IntPtr popup, int width, int height, PopupLayoutHandle layout)

Parameters

popup IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

layout PopupLayoutHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False