atkmm 2.28.3
|
A given range or subrange, to be used with Atk::Value. More...
#include <atkmm/range.h>
Public Member Functions | |
Range () | |
Range (AtkRange * gobject, bool make_a_copy=true) | |
Range (const Range & other) | |
Range & | operator= (const Range & other) |
Range (Range && other) noexcept | |
Range & | operator= (Range && other) noexcept |
~Range () noexcept | |
void | swap (Range & other) noexcept |
AtkRange * | gobj () |
Provides access to the underlying C instance. More... | |
const AtkRange * | gobj () const |
Provides access to the underlying C instance. More... | |
AtkRange * | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. More... | |
Range (double lower_limit, double upper_limit, const Glib::ustring & description) | |
double | get_lower_limit () const |
Returns the lower limit of range. More... | |
double | get_upper_limit () const |
Returns the upper limit of range. More... | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Attributes | |
AtkRange * | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
void | swap (Range & lhs, Range & rhs) noexcept |
Atk::Range | wrap (AtkRange * object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
A given range or subrange, to be used with Atk::Value.
This represents the full range of a given component (for example a slider or a range control), or, to define each individual subrange, this full range is split if available.
Atk::Range::Range | ( | ) |
|
explicit |
Atk::Range::Range | ( | const Range & | other | ) |
|
noexcept |
|
noexcept |
Atk::Range::Range | ( | double | lower_limit, |
double | upper_limit, | ||
const Glib::ustring & | description | ||
) |
double Atk::Range::get_lower_limit | ( | ) | const |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
double Atk::Range::get_upper_limit | ( | ) | const |
|
inline |
Provides access to the underlying C instance.
|
inline |
Provides access to the underlying C instance.
AtkRange * Atk::Range::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
noexcept |
lhs | The left-hand side |
rhs | The right-hand side |
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
|
protected |