Range

atk.Range are used on gobject.Value, 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 gobject.Value documentation for further details.

Constructors

this
this(AtkRange* atkRange, bool ownedRef)

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

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

Creates a new atk.Range

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

copy
Range copy()

Returns a new atk.Range 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(bool transferOwnership)

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