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)
 
Rangeoperator= (const Range& other)
 
 Range (Range&& other) noexcept
 
Rangeoperator= (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...

 

Detailed Description

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.

Since atkmm 2.24:

Constructor & Destructor Documentation

Atk::Range::Range ( )
Atk::Range::Range ( AtkRange *  gobject,
bool  make_a_copy = true 
)
explicit
Atk::Range::Range ( const Range other)
Atk::Range::Range ( Range&&  other)
noexcept
Atk::Range::~Range ( )
noexcept
Atk::Range::Range ( double  lower_limit,
double  upper_limit,
const Glib::ustring description 
)

Member Function Documentation

double Atk::Range::get_lower_limit ( ) const

Returns the lower limit of range.

Since atkmm 2.12:
Returns
The lower limit of range.
static GType Atk::Range::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

double Atk::Range::get_upper_limit ( ) const

Returns the upper limit of range.

Since atkmm 2.12:
Returns
The upper limit of range.
AtkRange* Atk::Range::gobj ( )
inline

Provides access to the underlying C instance.

const AtkRange* Atk::Range::gobj ( ) const
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.

Range& Atk::Range::operator= ( const Range other)
Range& Atk::Range::operator= ( Range&&  other)
noexcept
void Atk::Range::swap ( Range other)
noexcept

Friends And Related Function Documentation

void swap ( Range lhs,
Range rhs 
)
related
Parameters
lhsThe left-hand side
rhsThe right-hand side
Atk::Range wrap ( AtkRange *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

Member Data Documentation

AtkRange* Atk::Range::gobject_
protected