hbro-1.3.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

System.Glib.Attributes.Extended

Contents

Description

Extension of System.Glib.Attributes module. All functions call postGUISync or postGUIAsync as they are not meant to be used in the same thread as the Gtk loop.

Synopsis

Wrappers

get :: MonadIO m => o -> ReadWriteAttr o a b -> m a

set :: (MonadIO m, MonadLogger m, Show a) => o -> Attr o a -> a -> m o

set_ :: (MonadIO m, MonadLogger m, Functor m, Show a) => o -> Attr o a -> a -> m ()

Utils

modify :: (MonadIO m, MonadLogger m, Show a) => o -> Attr o a -> (a -> a) -> m a

modify_ :: (MonadIO m, MonadLogger m, Functor m, Show a) => o -> Attr o a -> (a -> a) -> m ()

Same as modify, but discards the result.

toggle :: (MonadIO m, MonadLogger m) => o -> Attr o Bool -> m Bool

toggle_ :: (MonadIO m, MonadLogger m, Functor m) => o -> Attr o Bool -> m ()

Same as toggle, but discards the result.