Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
relationSetRemove :: (HasCallStack, MonadIO m, IsRelationSet a, IsRelation b) => a -> b -> m ()gi-atk GI.Atk.Objects.RelationSet Removes a relation from the relation set. This function unref's the Relation so it will be deleted unless there is another reference to it.
toRelationSet :: (MonadIO m, IsRelationSet o) => o -> m RelationSetgi-atk GI.Atk.Objects.RelationSet Cast to RelationSet, for types for which this is known to be safe. For general casts, use castTo.
module GI.Atk.Objects.
StateSet An AtkStateSet contains the states of an object. An AtkStateSet is a read-only representation of the full set of AtkStates that apply to an object at a given time. This set is not meant to be modified, but rather created when atk_object_ref_state_set() is called.
class (GObject o, IsDescendantOf StateSet o) =>
IsStateSet ogi-atk GI.Atk.Objects.StateSet Type class for types which can be safely cast to StateSet, for instance with toStateSet.
-
gi-atk GI.Atk.Objects.StateSet Memory-managed wrapper type.
StateSet :: ManagedPtr StateSet -> StateSetgi-atk GI.Atk.Objects.StateSet No documentation available.
stateSetAddState :: (HasCallStack, MonadIO m, IsStateSet a) => a -> StateType -> m Boolgi-atk GI.Atk.Objects.StateSet Adds the state of the specified type to the state set if it is not already present. Note that because an StateSet is a read-only object, this method should be used to add a state to a newly-created set which will then be returned by atk_object_ref_state_set. It should not be used to modify the existing state of an object. See also atk_object_notify_state_change.
stateSetAddStates :: (HasCallStack, MonadIO m, IsStateSet a) => a -> [StateType] -> m ()gi-atk GI.Atk.Objects.StateSet Adds the states of the specified types to the state set. Note that because an StateSet is a read-only object, this method should be used to add states to a newly-created set which will then be returned by atk_object_ref_state_set. It should not be used to modify the existing state of an object. See also atk_object_notify_state_change.
stateSetAndSets :: (HasCallStack, MonadIO m, IsStateSet a, IsStateSet b) => a -> b -> m StateSetgi-atk GI.Atk.Objects.StateSet Constructs the intersection of the two sets, returning Nothing if the intersection is empty.
stateSetClearStates :: (HasCallStack, MonadIO m, IsStateSet a) => a -> m ()gi-atk GI.Atk.Objects.StateSet Removes all states from the state set.