Range

#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.

Constructors

this
this(AtkRange* atkRange)

Sets our main struct and passes it to the parent class.

this
this(double lowerLimit, double upperLimit, string description)

Creates a new #AtkRange.

Members

Functions

copy
Range copy()

Returns a new #AtkRange that is a exact copy of @src

free
void free()

Free @range

getDescription
string getDescription()

Returns the human readable description of @range

getLowerLimit
double getLowerLimit()

Returns the lower limit of @range

getRangeStruct
AtkRange* getRangeStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getUpperLimit
double getUpperLimit()

Returns the upper limit of @range

Static functions

getType
GType getType()

Variables

atkRange
AtkRange* atkRange;

the main Gtk struct

Meta