atk.range

Module for [Range] class

class Range

Types 1

A given range or subrange, to be used with #AtkValue

#AtkRange are used on #AtkValue, in order to represent the full range of a given component (for example an slider or a range control), or to define each individual subrange this full range is splitted if available. See #AtkValue documentation for further details.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Range self()Returns `this`, for use in `with` statements.
atk.range.Range copy()Returns a new #AtkRange that is a exact copy of src Returns: a new #AtkRange copy of src
string getDescription()Returns the human readable description of range Returns: the human-readable description of range
double getLowerLimit()Returns the lower limit of range Returns: the lower limit of range
double getUpperLimit()Returns the upper limit of range Returns: the upper limit of range
Constructors
this(void * ptr, Flag!"Take" take)
this(double lowerLimit, double upperLimit, string description)Creates a new #AtkRange.