Class WrapLayout
- Namespace
- Adw
- Assembly
- Adw-1.dll
public class WrapLayout : LayoutManager, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
WrapLayout
- Implements
- Inherited Members
Constructors
WrapLayout(WrapLayoutHandle)
protected WrapLayout(WrapLayoutHandle handle)
Parameters
handleWrapLayoutHandle
WrapLayout(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public WrapLayout(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WrapLayout(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WrapLayout(CreationData data)
Parameters
dataCreationData
Fields
AlignPropertyDefinition
public static readonly Property<float, WrapLayout> AlignPropertyDefinition
Field Value
ChildSpacingPropertyDefinition
public static readonly Property<int, WrapLayout> ChildSpacingPropertyDefinition
Field Value
ChildSpacingUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapLayout> ChildSpacingUnitPropertyDefinition
Field Value
JustifyLastLinePropertyDefinition
public static readonly Property<bool, WrapLayout> JustifyLastLinePropertyDefinition
Field Value
JustifyPropertyDefinition
public static readonly Property<JustifyMode, WrapLayout> JustifyPropertyDefinition
Field Value
LineHomogeneousPropertyDefinition
public static readonly Property<bool, WrapLayout> LineHomogeneousPropertyDefinition
Field Value
LineSpacingPropertyDefinition
public static readonly Property<int, WrapLayout> LineSpacingPropertyDefinition
Field Value
LineSpacingUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapLayout> LineSpacingUnitPropertyDefinition
Field Value
NaturalLineLengthPropertyDefinition
public static readonly Property<int, WrapLayout> NaturalLineLengthPropertyDefinition
Field Value
NaturalLineLengthUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapLayout> NaturalLineLengthUnitPropertyDefinition
Field Value
PackDirectionPropertyDefinition
public static readonly Property<PackDirection, WrapLayout> PackDirectionPropertyDefinition
Field Value
WrapPolicyPropertyDefinition
public static readonly Property<WrapPolicy, WrapLayout> WrapPolicyPropertyDefinition
Field Value
WrapReversePropertyDefinition
public static readonly Property<bool, WrapLayout> WrapReversePropertyDefinition
Field Value
Properties
Align
public float Align { get; set; }
Property Value
ChildSpacing
public int ChildSpacing { get; set; }
Property Value
ChildSpacingUnit
public LengthUnit ChildSpacingUnit { get; set; }
Property Value
Justify
public JustifyMode Justify { get; set; }
Property Value
JustifyLastLine
public bool JustifyLastLine { get; set; }
Property Value
LineHomogeneous
public bool LineHomogeneous { get; set; }
Property Value
LineSpacing
public int LineSpacing { get; set; }
Property Value
LineSpacingUnit
public LengthUnit LineSpacingUnit { get; set; }
Property Value
NaturalLineLength
public int NaturalLineLength { get; set; }
Property Value
NaturalLineLengthUnit
public LengthUnit NaturalLineLengthUnit { get; set; }
Property Value
PackDirection
public PackDirection PackDirection { get; set; }
Property Value
WrapPolicy
public WrapPolicy WrapPolicy { get; set; }
Property Value
WrapReverse
public bool WrapReverse { get; set; }
Property Value
Methods
GetAlign()
[Version("1.7")]
public float GetAlign()
Returns
GetChildSpacing()
[Version("1.7")]
public int GetChildSpacing()
Returns
GetChildSpacingUnit()
[Version("1.7")]
public LengthUnit GetChildSpacingUnit()
Returns
GetGType()
public static Type GetGType()
Returns
GetJustify()
[Version("1.7")]
public JustifyMode GetJustify()
Returns
GetJustifyLastLine()
[Version("1.7")]
public bool GetJustifyLastLine()
Returns
GetLineHomogeneous()
[Version("1.7")]
public bool GetLineHomogeneous()
Returns
GetLineSpacing()
[Version("1.7")]
public int GetLineSpacing()
Returns
GetLineSpacingUnit()
[Version("1.7")]
public LengthUnit GetLineSpacingUnit()
Returns
GetNaturalLineLength()
[Version("1.7")]
public int GetNaturalLineLength()
Returns
GetNaturalLineLengthUnit()
[Version("1.7")]
public LengthUnit GetNaturalLineLengthUnit()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetPackDirection()
[Version("1.7")]
public PackDirection GetPackDirection()
Returns
GetWrapPolicy()
[Version("1.7")]
public WrapPolicy GetWrapPolicy()
Returns
GetWrapReverse()
[Version("1.7")]
public bool GetWrapReverse()
Returns
New()
[Version("1.7")]
public static WrapLayout New()
Returns
NewFromPointer(nint, bool)
Creates a new managed WrapLayout instance for a given pointer.
public static WrapLayout NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WrapLayout and sets the properties specified by the construct arguments.
public static WrapLayout NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetAlign(float)
[Version("1.7")]
public void SetAlign(float align)
Parameters
alignfloat
SetChildSpacing(int)
[Version("1.7")]
public void SetChildSpacing(int childSpacing)
Parameters
childSpacingint
SetChildSpacingUnit(LengthUnit)
[Version("1.7")]
public void SetChildSpacingUnit(LengthUnit unit)
Parameters
unitLengthUnit
SetJustify(JustifyMode)
[Version("1.7")]
public void SetJustify(JustifyMode justify)
Parameters
justifyJustifyMode
SetJustifyLastLine(bool)
[Version("1.7")]
public void SetJustifyLastLine(bool justifyLastLine)
Parameters
justifyLastLinebool
SetLineHomogeneous(bool)
[Version("1.7")]
public void SetLineHomogeneous(bool homogeneous)
Parameters
homogeneousbool
SetLineSpacing(int)
[Version("1.7")]
public void SetLineSpacing(int lineSpacing)
Parameters
lineSpacingint
SetLineSpacingUnit(LengthUnit)
[Version("1.7")]
public void SetLineSpacingUnit(LengthUnit unit)
Parameters
unitLengthUnit
SetNaturalLineLength(int)
[Version("1.7")]
public void SetNaturalLineLength(int naturalLineLength)
Parameters
naturalLineLengthint
SetNaturalLineLengthUnit(LengthUnit)
[Version("1.7")]
public void SetNaturalLineLengthUnit(LengthUnit unit)
Parameters
unitLengthUnit
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
SetPackDirection(PackDirection)
[Version("1.7")]
public void SetPackDirection(PackDirection packDirection)
Parameters
packDirectionPackDirection
SetWrapPolicy(WrapPolicy)
[Version("1.7")]
public void SetWrapPolicy(WrapPolicy wrapPolicy)
Parameters
wrapPolicyWrapPolicy
SetWrapReverse(bool)
[Version("1.7")]
public void SetWrapReverse(bool wrapReverse)
Parameters
wrapReversebool