GObject.Object
Atk.StateSet
Import line: | Atk = imports.gi.Atk; |
GIR File: | Atk-1.0.gir |
C documentation: | AtkStateSet |
Class : | StateSet |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
Atk.StateSet |
Method / Constructor | Defined By | |
---|---|---|
new Atk.StateSet
(Object properties)
Create a new Atk.StateSet
Create a new Atk.StateSet
|
||
Add a new state for the specified type to the current state set if it is not already present.
Add a new state for the specified type to the current state set if it is not already present.
|
Atk.StateSet | |
Add the states for the specified types to the current state set.
Add the states for the specified types to the current state set.
|
Atk.StateSet | |
and_sets
(StateSet compare_set)
:
Atk.StateSet
Constructs the intersection of the two sets, returning NULL if the intersection is empty.
Constructs the intersection of the two sets, returning NULL if the intersection is empty.
|
Atk.StateSet | |
clear_states
()
:
none
Removes all states from the state set.
Removes all states from the state set.
|
Atk.StateSet | |
Checks whether the state for the specified type is in the specified set.
Checks whether the state for the specified type is in the specified set.
|
Atk.StateSet | |
Checks whether the states for all the specified types are in the specified set.
Checks whether the states for all the specified types are in the specified set.
|
Atk.StateSet | |
is_empty
()
:
Boolean
Checks whether the state set is empty, i.e.
Checks whether the state set is empty, i.e. has no states set.
|
Atk.StateSet | |
or_sets
(StateSet compare_set)
:
Atk.StateSet
Constructs the union of the two sets.
Constructs the union of the two sets. returning NULL is empty.
|
Atk.StateSet | |
Removes the state for the specified type from the state set.
Removes the state for the specified type from the state set.
|
Atk.StateSet | |
xor_sets
(StateSet compare_set)
:
Atk.StateSet
Constructs the exclusive-or of the two sets, returning NULL is empty.
Constructs the exclusive-or of the two sets, returning NULL is empty. The set returned by this operation contains the states in exactly one of the two sets. in exactly one of the two sets.
|
Atk.StateSet |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Atk.Object
Method |
ref_state_set
()
:
Atk.StateSet
Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.
|