Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype CssProvider = CssProvider (ForeignPtr CssProvider)
- class GObject o => CssProviderK o
- toCssProvider :: CssProviderK o => o -> IO CssProvider
- noCssProvider :: Maybe CssProvider
- cssProviderGetDefault :: MonadIO m => m CssProvider
- cssProviderGetNamed :: MonadIO m => Text -> Maybe Text -> m CssProvider
- data CssProviderLoadFromDataMethodInfo
- cssProviderLoadFromData :: (MonadIO m, CssProviderK a) => a -> ByteString -> m ()
- data CssProviderLoadFromFileMethodInfo
- cssProviderLoadFromFile :: (MonadIO m, CssProviderK a, FileK b) => a -> b -> m ()
- data CssProviderLoadFromPathMethodInfo
- cssProviderLoadFromPath :: (MonadIO m, CssProviderK a) => a -> Text -> m ()
- data CssProviderLoadFromResourceMethodInfo
- cssProviderLoadFromResource :: (MonadIO m, CssProviderK a) => a -> Text -> m ()
- cssProviderNew :: MonadIO m => m CssProvider
- data CssProviderToStringMethodInfo
- cssProviderToString :: (MonadIO m, CssProviderK a) => a -> m Text
- type CssProviderParsingErrorCallback = CssSection -> GError -> IO ()
- type CssProviderParsingErrorCallbackC = Ptr () -> Ptr CssSection -> Ptr GError -> Ptr () -> IO ()
- data CssProviderParsingErrorSignalInfo
- afterCssProviderParsingError :: (GObject a, MonadIO m) => a -> CssProviderParsingErrorCallback -> m SignalHandlerId
- cssProviderParsingErrorCallbackWrapper :: CssProviderParsingErrorCallback -> Ptr () -> Ptr CssSection -> Ptr GError -> Ptr () -> IO ()
- cssProviderParsingErrorClosure :: CssProviderParsingErrorCallback -> IO Closure
- mkCssProviderParsingErrorCallback :: CssProviderParsingErrorCallbackC -> IO (FunPtr CssProviderParsingErrorCallbackC)
- noCssProviderParsingErrorCallback :: Maybe CssProviderParsingErrorCallback
- onCssProviderParsingError :: (GObject a, MonadIO m) => a -> CssProviderParsingErrorCallback -> m SignalHandlerId
Exported types
newtype CssProvider Source
GObject CssProvider | |
((~) * info (ResolveCssProviderMethod t CssProvider), MethodInfo * info CssProvider p) => IsLabelProxy t (CssProvider -> p) | |
type ParentTypes CssProvider | |
type AttributeList CssProvider | |
type SignalList CssProvider |
class GObject o => CssProviderK o Source
(GObject o, IsDescendantOf CssProvider o) => CssProviderK o |
toCssProvider :: CssProviderK o => o -> IO CssProvider Source
Methods
cssProviderGetDefault
cssProviderGetDefault :: MonadIO m => m CssProvider Source
cssProviderGetNamed
cssProviderGetNamed :: MonadIO m => Text -> Maybe Text -> m CssProvider Source
cssProviderLoadFromData
data CssProviderLoadFromDataMethodInfo Source
((~) * signature (ByteString -> m ()), MonadIO m, CssProviderK a) => MethodInfo * CssProviderLoadFromDataMethodInfo a signature |
cssProviderLoadFromData :: (MonadIO m, CssProviderK a) => a -> ByteString -> m () Source
cssProviderLoadFromFile
data CssProviderLoadFromFileMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, CssProviderK a, FileK b) => MethodInfo * CssProviderLoadFromFileMethodInfo a signature |
cssProviderLoadFromFile :: (MonadIO m, CssProviderK a, FileK b) => a -> b -> m () Source
cssProviderLoadFromPath
data CssProviderLoadFromPathMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, CssProviderK a) => MethodInfo * CssProviderLoadFromPathMethodInfo a signature |
cssProviderLoadFromPath :: (MonadIO m, CssProviderK a) => a -> Text -> m () Source
cssProviderLoadFromResource
data CssProviderLoadFromResourceMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, CssProviderK a) => MethodInfo * CssProviderLoadFromResourceMethodInfo a signature |
cssProviderLoadFromResource :: (MonadIO m, CssProviderK a) => a -> Text -> m () Source
cssProviderNew
cssProviderNew :: MonadIO m => m CssProvider Source
cssProviderToString
data CssProviderToStringMethodInfo Source
((~) * signature (m Text), MonadIO m, CssProviderK a) => MethodInfo * CssProviderToStringMethodInfo a signature |
cssProviderToString :: (MonadIO m, CssProviderK a) => a -> m Text Source
Signals
ParsingError
type CssProviderParsingErrorCallback = CssSection -> GError -> IO () Source
type CssProviderParsingErrorCallbackC = Ptr () -> Ptr CssSection -> Ptr GError -> Ptr () -> IO () Source
afterCssProviderParsingError :: (GObject a, MonadIO m) => a -> CssProviderParsingErrorCallback -> m SignalHandlerId Source
cssProviderParsingErrorCallbackWrapper :: CssProviderParsingErrorCallback -> Ptr () -> Ptr CssSection -> Ptr GError -> Ptr () -> IO () Source
mkCssProviderParsingErrorCallback :: CssProviderParsingErrorCallbackC -> IO (FunPtr CssProviderParsingErrorCallbackC) Source
onCssProviderParsingError :: (GObject a, MonadIO m) => a -> CssProviderParsingErrorCallback -> m SignalHandlerId Source