Class ClampScrollable
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class ClampScrollable : Widget, Accessible, Buildable, ConstraintTarget, Orientable, Scrollable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
ClampScrollable
- Implements
- Inherited Members
Constructors
ClampScrollable(ClampScrollableHandle)
protected ClampScrollable(ClampScrollableHandle handle)
Parameters
handleClampScrollableHandle
ClampScrollable(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 ClampScrollable(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ClampScrollable(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ClampScrollable(CreationData data)
Parameters
dataCreationData
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, ClampScrollable> ChildPropertyDefinition
Field Value
MaximumSizePropertyDefinition
public static readonly Property<int, ClampScrollable> MaximumSizePropertyDefinition
Field Value
TighteningThresholdPropertyDefinition
public static readonly Property<int, ClampScrollable> TighteningThresholdPropertyDefinition
Field Value
UnitPropertyDefinition
public static readonly Property<LengthUnit, ClampScrollable> UnitPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
Hadjustment
public Adjustment? Hadjustment { get; set; }
Property Value
HscrollPolicy
public ScrollablePolicy HscrollPolicy { get; set; }
Property Value
MaximumSize
public int MaximumSize { get; set; }
Property Value
TighteningThreshold
public int TighteningThreshold { get; set; }
Property Value
Unit
public LengthUnit Unit { get; set; }
Property Value
Vadjustment
public Adjustment? Vadjustment { get; set; }
Property Value
VscrollPolicy
public ScrollablePolicy VscrollPolicy { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBorder(out Border)
public bool GetBorder(out Border border)
Parameters
borderBorder
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
GetChild()
public Widget? GetChild()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHadjustment()
public Adjustment? GetHadjustment()
Returns
GetHscrollPolicy()
public ScrollablePolicy GetHscrollPolicy()
Returns
GetMaximumSize()
public int GetMaximumSize()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetTighteningThreshold()
public int GetTighteningThreshold()
Returns
GetUnit()
[Version("1.4")]
public LengthUnit GetUnit()
Returns
GetVadjustment()
public Adjustment? GetVadjustment()
Returns
GetVscrollPolicy()
public ScrollablePolicy GetVscrollPolicy()
Returns
New()
public static ClampScrollable New()
Returns
NewFromPointer(nint, bool)
Creates a new managed ClampScrollable instance for a given pointer.
public static ClampScrollable NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ClampScrollable and sets the properties specified by the construct arguments.
public static ClampScrollable NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
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
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
childWidget
SetHadjustment(Adjustment?)
public void SetHadjustment(Adjustment? hadjustment)
Parameters
hadjustmentAdjustment
SetHscrollPolicy(ScrollablePolicy)
public void SetHscrollPolicy(ScrollablePolicy policy)
Parameters
policyScrollablePolicy
SetMaximumSize(int)
public void SetMaximumSize(int maximumSize)
Parameters
maximumSizeint
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
SetTighteningThreshold(int)
public void SetTighteningThreshold(int tighteningThreshold)
Parameters
tighteningThresholdint
SetUnit(LengthUnit)
[Version("1.4")]
public void SetUnit(LengthUnit unit)
Parameters
unitLengthUnit
SetVadjustment(Adjustment?)
public void SetVadjustment(Adjustment? vadjustment)
Parameters
vadjustmentAdjustment
SetVscrollPolicy(ScrollablePolicy)
public void SetVscrollPolicy(ScrollablePolicy policy)
Parameters
policyScrollablePolicy
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState