Table of Contents

Class ClampLayout

Namespace
Adw
Assembly
Adw-1.dll
public sealed class ClampLayout : LayoutManager, IObject, INotifyPropertyChanged, IDisposable, Orientable, IHandle, GTypeProvider
Inheritance
ClampLayout
Implements
Inherited Members

Constructors

ClampLayout(bool, params ConstructArgument[])

protected ClampLayout(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ClampLayout(IntPtr, bool)

protected ClampLayout(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

MaximumSizePropertyDefinition

public static readonly Property<int, ClampLayout> MaximumSizePropertyDefinition

Field Value

Property<int, ClampLayout>

TighteningThresholdPropertyDefinition

public static readonly Property<int, ClampLayout> TighteningThresholdPropertyDefinition

Field Value

Property<int, ClampLayout>

UnitPropertyDefinition

public static readonly Property<LengthUnit, ClampLayout> UnitPropertyDefinition

Field Value

Property<LengthUnit, ClampLayout>

Properties

MaximumSize

public int MaximumSize { get; set; }

Property Value

int

TighteningThreshold

public int TighteningThreshold { get; set; }

Property Value

int

Unit

public LengthUnit Unit { get; set; }

Property Value

LengthUnit

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetMaximumSize()

public int GetMaximumSize()

Returns

int

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

GetTighteningThreshold()

public int GetTighteningThreshold()

Returns

int

GetUnit()

[Version("1.4")]
public LengthUnit GetUnit()

Returns

LengthUnit

New()

public static ClampLayout New()

Returns

ClampLayout

SetMaximumSize(int)

public void SetMaximumSize(int maximumSize)

Parameters

maximumSize int

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

SetTighteningThreshold(int)

public void SetTighteningThreshold(int tighteningThreshold)

Parameters

tighteningThreshold int

SetUnit(LengthUnit)

[Version("1.4")]
public void SetUnit(LengthUnit unit)

Parameters

unit LengthUnit