An object used to describe a relation between a object and one or more other objects.
An AtkRelation 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 AtkRelationSet, which is a set of AtkRelations.
Derives from
<gobject>
.This class defines the following slots:
relation-type
- The type of the relation
target
- An array of the targets for the relation
mchars
) ⇒ (ret <atk-relation-type>
)Associate name with a new
<atk-relation-type>
- name
- a name string
- ret
- an
<atk-relation-type>
associated with name
<atk-relation-type>
) ⇒ (ret mchars
)Gets the description string describing the
<atk-relation-type>
type.
- type
- The
<atk-relation-type>
whose name is required- ret
- the string describing the AtkRelationType
mchars
) ⇒ (ret <atk-relation-type>
)Get the
<atk-relation-type>
type corresponding to a relation name.
- name
- a string which is the (non-localized) name of an ATK relation type.
- ret
- the
<atk-relation-type>
enumerated type corresponding to the specified name, or<atk-relation-null>
if no matching relation type is found.