Table of Contents

Class AspectFrame

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class AspectFrame
Inheritance
AspectFrame
Inherited Members

Methods

GetChild(IntPtr)

Calls native method gtk_aspect_frame_get_child.

public static extern IntPtr GetChild(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_aspect_frame_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetObeyChild(IntPtr)

Calls native method gtk_aspect_frame_get_obey_child.

public static extern bool GetObeyChild(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetRatio(IntPtr)

Calls native method gtk_aspect_frame_get_ratio.

public static extern float GetRatio(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

GetXalign(IntPtr)

Calls native method gtk_aspect_frame_get_xalign.

public static extern float GetXalign(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

GetYalign(IntPtr)

Calls native method gtk_aspect_frame_get_yalign.

public static extern float GetYalign(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

New(float, float, float, bool)

Calls native constructor gtk_aspect_frame_new.

public static extern IntPtr New(float xalign, float yalign, float ratio, bool obeyChild)

Parameters

xalign float

Transfer ownership: None Nullable: False

yalign float

Transfer ownership: None Nullable: False

ratio float

Transfer ownership: None Nullable: False

obeyChild bool

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetChild(IntPtr, IntPtr)

Calls native method gtk_aspect_frame_set_child.

public static extern void SetChild(IntPtr self, IntPtr child)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: True

SetObeyChild(IntPtr, bool)

Calls native method gtk_aspect_frame_set_obey_child.

public static extern void SetObeyChild(IntPtr self, bool obeyChild)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

obeyChild bool

Transfer ownership: None Nullable: False

SetRatio(IntPtr, float)

Calls native method gtk_aspect_frame_set_ratio.

public static extern void SetRatio(IntPtr self, float ratio)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

ratio float

Transfer ownership: None Nullable: False

SetXalign(IntPtr, float)

Calls native method gtk_aspect_frame_set_xalign.

public static extern void SetXalign(IntPtr self, float xalign)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

xalign float

Transfer ownership: None Nullable: False

SetYalign(IntPtr, float)

Calls native method gtk_aspect_frame_set_yalign.

public static extern void SetYalign(IntPtr self, float yalign)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

yalign float

Transfer ownership: None Nullable: False