Atk::StateSet Class Reference
An AtkStateSet determines a component's state set. More...
Inherits Glib::Object.
List of all members.
Detailed Description
An AtkStateSet determines a component's state set.
It is composed of a set of Atk::States.
Constructor & Destructor Documentation
virtual Atk::StateSet::~StateSet |
( |
|
) |
[virtual] |
Atk::StateSet::StateSet |
( |
|
) |
[protected] |
Member Function Documentation
Add a new state for the specified type to the current state set if it is not already present.
- Parameters:
-
- Returns:
true
if the state for type is not already in set.
Constructs the intersection of the two sets, returning 0
if the intersection is empty.
- Parameters:
-
- Returns:
- A new Atk::StateSet which is the intersection of the two sets.
void Atk::StateSet::clear_states |
( |
|
) |
|
Removes all states from the state set.
Checks whether the state for the specified type is in the specified set.
- Parameters:
-
- Returns:
true
if type is the state type is in set.
const AtkStateSet* Atk::StateSet::gobj |
( |
|
) |
const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase.
AtkStateSet* Atk::StateSet::gobj |
( |
|
) |
[inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase.
AtkStateSet* Atk::StateSet::gobj_copy |
( |
|
) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool Atk::StateSet::is_empty |
( |
|
) |
const |
Checks whether the state set is empty, i.e. has no states set.
- Returns:
true
if set has no states set, otherwise false
.
Constructs the union of the two sets.
- Parameters:
-
- Returns:
- A new Atk::StateSet which is the union of the two sets, returning
0
is empty.
Removes the state for the specified type from the state set.
- Parameters:
-
- Returns:
true
if type was the state type is in set.
Constructs the exclusive-or of the two sets, returning 0
is empty.
The set returned by this operation contains the states in exactly one of the two sets.
- Parameters:
-
- Returns:
- A new Atk::StateSet which contains the states which are in exactly one of the two sets.
Friends And Related Function Documentation
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.
The documentation for this class was generated from the following file: