Class Range
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Range : Widget, IDisposable, Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable, GTypeProvider, InstanceFactory
- Inheritance
-
Range
- Implements
- Derived
- Inherited Members
Constructors
Range(params ConstructArgument[])
public Range(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Range(RangeHandle)
public Range(RangeHandle handle)
Parameters
handle
RangeHandle
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
message
stringpriority
AccessibleAnnouncementPriority
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
state
AccessiblePlatformState
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
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetAdjustment(Adjustment)
public void SetAdjustment(Adjustment adjustment)
Parameters
adjustment
Adjustment
SetFillLevel(double)
public void SetFillLevel(double fillLevel)
Parameters
fillLevel
double
SetFlippable(bool)
public void SetFlippable(bool flippable)
Parameters
flippable
bool
SetIncrements(double, double)
public void SetIncrements(double step, double page)
Parameters
SetInverted(bool)
public void SetInverted(bool setting)
Parameters
setting
bool
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientation
Orientation
SetRange(double, double)
public void SetRange(double min, double max)
Parameters
SetRestrictToFillLevel(bool)
public void SetRestrictToFillLevel(bool restrictToFillLevel)
Parameters
restrictToFillLevel
bool
SetRoundDigits(int)
public void SetRoundDigits(int roundDigits)
Parameters
roundDigits
int
SetShowFillLevel(bool)
public void SetShowFillLevel(bool showFillLevel)
Parameters
showFillLevel
bool
SetSliderSizeFixed(bool)
public void SetSliderSizeFixed(bool sizeFixed)
Parameters
sizeFixed
bool
SetValue(double)
public void SetValue(double value)
Parameters
value
double
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
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