Class WrapBox
- Namespace
- Adw
- Assembly
- Adw-1.dll
public class WrapBox : Widget, Accessible, Buildable, ConstraintTarget, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
WrapBox
- Implements
- Inherited Members
Constructors
WrapBox(WrapBoxHandle)
protected WrapBox(WrapBoxHandle handle)
Parameters
handleWrapBoxHandle
WrapBox(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 WrapBox(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WrapBox(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WrapBox(CreationData data)
Parameters
dataCreationData
Fields
AlignPropertyDefinition
public static readonly Property<float, WrapBox> AlignPropertyDefinition
Field Value
ChildSpacingPropertyDefinition
public static readonly Property<int, WrapBox> ChildSpacingPropertyDefinition
Field Value
ChildSpacingUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapBox> ChildSpacingUnitPropertyDefinition
Field Value
JustifyLastLinePropertyDefinition
public static readonly Property<bool, WrapBox> JustifyLastLinePropertyDefinition
Field Value
JustifyPropertyDefinition
public static readonly Property<JustifyMode, WrapBox> JustifyPropertyDefinition
Field Value
LineHomogeneousPropertyDefinition
public static readonly Property<bool, WrapBox> LineHomogeneousPropertyDefinition
Field Value
LineSpacingPropertyDefinition
public static readonly Property<int, WrapBox> LineSpacingPropertyDefinition
Field Value
LineSpacingUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapBox> LineSpacingUnitPropertyDefinition
Field Value
NaturalLineLengthPropertyDefinition
public static readonly Property<int, WrapBox> NaturalLineLengthPropertyDefinition
Field Value
NaturalLineLengthUnitPropertyDefinition
public static readonly Property<LengthUnit, WrapBox> NaturalLineLengthUnitPropertyDefinition
Field Value
PackDirectionPropertyDefinition
public static readonly Property<PackDirection, WrapBox> PackDirectionPropertyDefinition
Field Value
WrapPolicyPropertyDefinition
public static readonly Property<WrapPolicy, WrapBox> WrapPolicyPropertyDefinition
Field Value
WrapReversePropertyDefinition
public static readonly Property<bool, WrapBox> WrapReversePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
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
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
Append(Widget)
[Version("1.7")]
public void Append(Widget child)
Parameters
childWidget
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAlign()
[Version("1.7")]
public float GetAlign()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetChildSpacing()
[Version("1.7")]
public int GetChildSpacing()
Returns
GetChildSpacingUnit()
[Version("1.7")]
public LengthUnit GetChildSpacingUnit()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
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
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetPackDirection()
[Version("1.7")]
public PackDirection GetPackDirection()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetWrapPolicy()
[Version("1.7")]
public WrapPolicy GetWrapPolicy()
Returns
GetWrapReverse()
[Version("1.7")]
public bool GetWrapReverse()
Returns
InsertChildAfter(Widget, Widget?)
[Version("1.7")]
public void InsertChildAfter(Widget child, Widget? sibling)
Parameters
New()
[Version("1.7")]
public static WrapBox New()
Returns
NewFromPointer(nint, bool)
Creates a new managed WrapBox instance for a given pointer.
public static WrapBox NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WrapBox and sets the properties specified by the construct arguments.
public static WrapBox NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Prepend(Widget)
[Version("1.7")]
public void Prepend(Widget child)
Parameters
childWidget
Remove(Widget)
[Version("1.7")]
public void Remove(Widget child)
Parameters
childWidget
RemoveAll()
[Version("1.8")]
public void RemoveAll()
ReorderChildAfter(Widget, Widget?)
[Version("1.7")]
public void ReorderChildAfter(Widget child, Widget? sibling)
Parameters
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
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
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState