![]() |
![]() |
Public Member Functions | |
virtual | ~StateSet () |
AtkStateSet* | gobj () |
Provides access to the underlying C GObject. | |
const AtkStateSet* | gobj () const |
Provides access to the underlying C GObject. | |
AtkStateSet* | gobj_copy () |
bool | is_empty () const |
Checks whether the state set is empty, i.e. has no states set. | |
bool | add_state (Atk::StateType type) |
Add a new state for the specified type to the current state set if it is not already present. | |
void | add_states (const Glib::ArrayHandle<Atk::StateType>& types) |
void | clear_states () |
Removes all states from the state set. | |
bool | contains_state (Atk::StateType type) |
Checks whether the state for the specified type is in the specified set. | |
bool | contains_states (const Glib::ArrayHandle<Atk::StateType>& types) const |
bool | remove_state (Atk::StateType type) |
Removes the state for the specified type from the state set. | |
Glib::RefPtr<StateSet> | and_sets (const Glib::RefPtr<StateSet>& compare_set) |
Constructs the intersection of the two sets, returning 0 if the intersection is empty. | |
Glib::RefPtr<StateSet> | or_sets (const Glib::RefPtr<StateSet>& compare_set) |
Constructs the union of the two sets. | |
Glib::RefPtr<StateSet> | xor_sets (const Glib::RefPtr<StateSet>& compare_set) |
Constructs the exclusive-or of the two sets, returning 0 is empty. | |
Static Public Member Functions | |
Glib::RefPtr<StateSet> | create () |
Protected Member Functions | |
StateSet () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Atk::StateSet> | wrap (AtkStateSet* object, bool take_copy=false) |
|
|
|
|
|
Add a new state for the specified type to the current state set if it is not already present.
|
|
|
|
Constructs the intersection of the two sets, returning
|
|
Removes all states from the state set.
|
|
Checks whether the state for the specified type is in the specified set.
|
|
|
|
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
|
|
Checks whether the state set is empty, i.e. has no states set.
|
|
Constructs the union of the two sets.
|
|
Removes the state for the specified type from the state set.
|
|
Constructs the exclusive-or of the two sets, returning The set returned by this operation contains the states in exactly one of the two sets.
|
|
|