An Atk::Relation describes a relation between an object and one or more other objects.
More...
#include <atkmm/relation.h>
|
(Note that these are not member functions.)
|
Glib::RefPtr< Atk::Relation > | wrap (AtkRelation * object, bool take_copy=false) |
| A Glib::wrap() method for this object. More...
|
|
An Atk::Relation describes a relation between an object and one or more other objects.
The actual relations that an object has with other objects are defined as an Atk::RelationSet, which is a set of Atk::Relations.
◆ Relation() [1/2]
Atk::Relation::Relation |
( |
Relation && |
src | ) |
|
|
noexcept |
◆ ~Relation()
Atk::Relation::~Relation |
( |
| ) |
|
|
overridenoexcept |
◆ Relation() [2/2]
Atk::Relation::Relation |
( |
const Glib::ArrayHandle< Glib::RefPtr< Atk::Object > > & |
targets, |
|
|
RelationType |
relationship |
|
) |
| |
|
explicitprotected |
◆ add_target()
void Atk::Relation::add_target |
( |
const Glib::RefPtr< Atk::Object > & |
target | ) |
|
◆ create()
◆ get_relation_type()
Gets the type of relation.
- Returns
- The type of relation.
◆ get_target() [1/2]
Glib::ArrayHandle< Glib::RefPtr< Atk::Object > > Atk::Relation::get_target |
( |
| ) |
|
◆ get_target() [2/2]
Glib::ArrayHandle< Glib::RefPtr< const Atk::Object > > Atk::Relation::get_target |
( |
| ) |
const |
◆ get_type()
static GType Atk::Relation::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
AtkRelation * Atk::Relation::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
const AtkRelation * Atk::Relation::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ gobj_copy()
AtkRelation * Atk::Relation::gobj_copy |
( |
| ) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ operator=()
◆ wrap()
Glib::RefPtr< Atk::Relation > wrap |
( |
AtkRelation * |
object, |
|
|
bool |
take_copy = false |
|
) |
| |
|
related |
A Glib::wrap() method for this object.
- Parameters
-
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. |
- Returns
- A C++ instance that wraps this C instance.