Table of Contents

Class ClampLayout

Namespace
Adw.Internal
Assembly
Adw-1.dll
public class ClampLayout
Inheritance
ClampLayout
Inherited Members

Methods

GetGType()

Calls native function adw_clamp_layout_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaximumSize(IntPtr)

Calls native method adw_clamp_layout_get_maximum_size.

public static extern int GetMaximumSize(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetTighteningThreshold(IntPtr)

Calls native method adw_clamp_layout_get_tightening_threshold.

public static extern int GetTighteningThreshold(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetUnit(IntPtr)

Calls native method adw_clamp_layout_get_unit. Version: 1.4

[Version("1.4")]
public static extern LengthUnit GetUnit(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

LengthUnit

Transfer ownership: None Nullable: False

New()

Calls native constructor adw_clamp_layout_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMaximumSize(IntPtr, int)

Calls native method adw_clamp_layout_set_maximum_size.

public static extern void SetMaximumSize(IntPtr self, int maximumSize)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

maximumSize int

Transfer ownership: None Nullable: False

SetTighteningThreshold(IntPtr, int)

Calls native method adw_clamp_layout_set_tightening_threshold.

public static extern void SetTighteningThreshold(IntPtr self, int tighteningThreshold)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

tighteningThreshold int

Transfer ownership: None Nullable: False

SetUnit(IntPtr, LengthUnit)

Calls native method adw_clamp_layout_set_unit. Version: 1.4

[Version("1.4")]
public static extern void SetUnit(IntPtr self, LengthUnit unit)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

unit LengthUnit

Transfer ownership: None Nullable: False