Class Range
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Range : Widget, Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
Range
- Implements
- Derived
- Inherited Members
Constructors
Range(params ConstructArgument[])
public Range(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Range(RangeHandle)
public Range(RangeHandle handle)
Parameters
handleRangeHandle
Fields
AdjustBoundsSignal
Signal Descriptor for OnAdjustBounds.
public static readonly Signal<Range, Range.AdjustBoundsSignalArgs> AdjustBoundsSignal
Field Value
AdjustmentPropertyDefinition
public static readonly Property<Adjustment?, Range> AdjustmentPropertyDefinition
Field Value
ChangeValueSignal
Signal Descriptor for OnChangeValue.
public static readonly ReturningSignal<Range, Range.ChangeValueSignalArgs, bool> ChangeValueSignal
Field Value
FillLevelPropertyDefinition
public static readonly Property<double, Range> FillLevelPropertyDefinition
Field Value
InvertedPropertyDefinition
public static readonly Property<bool, Range> InvertedPropertyDefinition
Field Value
MoveSliderSignal
Signal Descriptor for OnMoveSlider.
public static readonly Signal<Range, Range.MoveSliderSignalArgs> MoveSliderSignal
Field Value
RestrictToFillLevelPropertyDefinition
public static readonly Property<bool, Range> RestrictToFillLevelPropertyDefinition
Field Value
RoundDigitsPropertyDefinition
public static readonly Property<int, Range> RoundDigitsPropertyDefinition
Field Value
ShowFillLevelPropertyDefinition
public static readonly Property<bool, Range> ShowFillLevelPropertyDefinition
Field Value
ValueChangedSignal
Signal Descriptor for OnValueChanged.
public static readonly Signal<Range> ValueChangedSignal
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Adjustment
public Adjustment? Adjustment { get; set; }
Property Value
FillLevel
public double FillLevel { get; set; }
Property Value
Inverted
public bool Inverted { get; set; }
Property Value
RestrictToFillLevel
public bool RestrictToFillLevel { get; set; }
Property Value
RoundDigits
public int RoundDigits { get; set; }
Property Value
ShowFillLevel
public bool ShowFillLevel { 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
GetAdjustment()
public Adjustment GetAdjustment()
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
GetFillLevel()
public double GetFillLevel()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetFlippable()
public bool GetFlippable()
Returns
GetGType()
public static Type GetGType()
Returns
GetInverted()
public bool GetInverted()
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
GetRestrictToFillLevel()
public bool GetRestrictToFillLevel()
Returns
GetRoundDigits()
public int GetRoundDigits()
Returns
GetShowFillLevel()
public bool GetShowFillLevel()
Returns
GetSliderRange(out int, out int)
public void GetSliderRange(out int sliderStart, out int sliderEnd)
Parameters
GetSliderSizeFixed()
public bool GetSliderSizeFixed()
Returns
GetValue()
public double GetValue()
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
SetAdjustment(Adjustment)
public void SetAdjustment(Adjustment adjustment)
Parameters
adjustmentAdjustment
SetFillLevel(double)
public void SetFillLevel(double fillLevel)
Parameters
fillLeveldouble
SetFlippable(bool)
public void SetFlippable(bool flippable)
Parameters
flippablebool
SetIncrements(double, double)
public void SetIncrements(double step, double page)
Parameters
SetInverted(bool)
public void SetInverted(bool setting)
Parameters
settingbool
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
SetRange(double, double)
public void SetRange(double min, double max)
Parameters
SetRestrictToFillLevel(bool)
public void SetRestrictToFillLevel(bool restrictToFillLevel)
Parameters
restrictToFillLevelbool
SetRoundDigits(int)
public void SetRoundDigits(int roundDigits)
Parameters
roundDigitsint
SetShowFillLevel(bool)
public void SetShowFillLevel(bool showFillLevel)
Parameters
showFillLevelbool
SetSliderSizeFixed(bool)
public void SetSliderSizeFixed(bool sizeFixed)
Parameters
sizeFixedbool
SetValue(double)
public void SetValue(double value)
Parameters
valuedouble
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
Events
OnAdjustBounds
public event SignalHandler<Range, Range.AdjustBoundsSignalArgs> OnAdjustBounds
Event Type
OnChangeValue
public event ReturningSignalHandler<Range, Range.ChangeValueSignalArgs, bool> OnChangeValue
Event Type
OnMoveSlider
public event SignalHandler<Range, Range.MoveSliderSignalArgs> OnMoveSlider
Event Type
OnValueChanged
public event SignalHandler<Range> OnValueChanged