Table of Contents

Class ConstraintGuide

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

Methods

GetGType()

Calls native function gtk_constraint_guide_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaxSize(IntPtr, out int, out int)

Calls native method gtk_constraint_guide_get_max_size.

public static extern void GetMaxSize(IntPtr guide, out int width, out int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

GetMinSize(IntPtr, out int, out int)

Calls native method gtk_constraint_guide_get_min_size.

public static extern void GetMinSize(IntPtr guide, out int width, out int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

GetName(IntPtr)

Calls native method gtk_constraint_guide_get_name.

public static extern NullableUtf8StringUnownedHandle GetName(IntPtr guide)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetNatSize(IntPtr, out int, out int)

Calls native method gtk_constraint_guide_get_nat_size.

public static extern void GetNatSize(IntPtr guide, out int width, out int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

GetStrength(IntPtr)

Calls native method gtk_constraint_guide_get_strength.

public static extern ConstraintStrength GetStrength(IntPtr guide)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

Returns

ConstraintStrength

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_constraint_guide_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMaxSize(IntPtr, int, int)

Calls native method gtk_constraint_guide_set_max_size.

public static extern void SetMaxSize(IntPtr guide, int width, int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

SetMinSize(IntPtr, int, int)

Calls native method gtk_constraint_guide_set_min_size.

public static extern void SetMinSize(IntPtr guide, int width, int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

SetName(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_constraint_guide_set_name.

public static extern void SetName(IntPtr guide, NullableUtf8StringHandle name)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetNatSize(IntPtr, int, int)

Calls native method gtk_constraint_guide_set_nat_size.

public static extern void SetNatSize(IntPtr guide, int width, int height)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

SetStrength(IntPtr, ConstraintStrength)

Calls native method gtk_constraint_guide_set_strength.

public static extern void SetStrength(IntPtr guide, ConstraintStrength strength)

Parameters

guide IntPtr

Transfer ownership: None Nullable: False

strength ConstraintStrength

Transfer ownership: None Nullable: False