| 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 |
GI.Atk.Interfaces.Document
Contents
Description
- newtype Document = Document (ManagedPtr Document)
- noDocument :: Maybe Document
- class ManagedPtrNewtype a => IsDocument a
- data DocumentGetAttributeValueMethodInfo
- documentGetAttributeValue :: (MonadIO m, IsDocument a) => a -> Text -> m (Maybe Text)
- data DocumentGetAttributesMethodInfo
- documentGetAttributes :: (MonadIO m, IsDocument a) => a -> m [Ptr ()]
- data DocumentGetCurrentPageNumberMethodInfo
- documentGetCurrentPageNumber :: (MonadIO m, IsDocument a) => a -> m Int32
- data DocumentGetDocumentMethodInfo
- documentGetDocument :: (MonadIO m, IsDocument a) => a -> m (Ptr ())
- data DocumentGetDocumentTypeMethodInfo
- documentGetDocumentType :: (MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetLocaleMethodInfo
- documentGetLocale :: (MonadIO m, IsDocument a) => a -> m Text
- data DocumentGetPageCountMethodInfo
- documentGetPageCount :: (MonadIO m, IsDocument a) => a -> m Int32
- data DocumentSetAttributeValueMethodInfo
- documentSetAttributeValue :: (MonadIO m, IsDocument a) => a -> Text -> Text -> m Bool
- type C_DocumentLoadCompleteCallback = Ptr () -> Ptr () -> IO ()
- type DocumentLoadCompleteCallback = IO ()
- data DocumentLoadCompleteSignalInfo
- afterDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId
- genClosure_DocumentLoadComplete :: DocumentLoadCompleteCallback -> IO Closure
- mk_DocumentLoadCompleteCallback :: C_DocumentLoadCompleteCallback -> IO (FunPtr C_DocumentLoadCompleteCallback)
- noDocumentLoadCompleteCallback :: Maybe DocumentLoadCompleteCallback
- onDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId
- wrap_DocumentLoadCompleteCallback :: DocumentLoadCompleteCallback -> Ptr () -> Ptr () -> IO ()
- type C_DocumentLoadStoppedCallback = Ptr () -> Ptr () -> IO ()
- type DocumentLoadStoppedCallback = IO ()
- data DocumentLoadStoppedSignalInfo
- afterDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId
- genClosure_DocumentLoadStopped :: DocumentLoadStoppedCallback -> IO Closure
- mk_DocumentLoadStoppedCallback :: C_DocumentLoadStoppedCallback -> IO (FunPtr C_DocumentLoadStoppedCallback)
- noDocumentLoadStoppedCallback :: Maybe DocumentLoadStoppedCallback
- onDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId
- wrap_DocumentLoadStoppedCallback :: DocumentLoadStoppedCallback -> Ptr () -> Ptr () -> IO ()
- type C_DocumentPageChangedCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type DocumentPageChangedCallback = Int32 -> IO ()
- data DocumentPageChangedSignalInfo
- afterDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId
- genClosure_DocumentPageChanged :: DocumentPageChangedCallback -> IO Closure
- mk_DocumentPageChangedCallback :: C_DocumentPageChangedCallback -> IO (FunPtr C_DocumentPageChangedCallback)
- noDocumentPageChangedCallback :: Maybe DocumentPageChangedCallback
- onDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId
- wrap_DocumentPageChangedCallback :: DocumentPageChangedCallback -> Ptr () -> Int32 -> Ptr () -> IO ()
- type C_DocumentReloadCallback = Ptr () -> Ptr () -> IO ()
- type DocumentReloadCallback = IO ()
- data DocumentReloadSignalInfo
- afterDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId
- genClosure_DocumentReload :: DocumentReloadCallback -> IO Closure
- mk_DocumentReloadCallback :: C_DocumentReloadCallback -> IO (FunPtr C_DocumentReloadCallback)
- noDocumentReloadCallback :: Maybe DocumentReloadCallback
- onDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId
- wrap_DocumentReloadCallback :: DocumentReloadCallback -> Ptr () -> Ptr () -> IO ()
Exported types
Instances
| IsDocument Document Source # | |
| ((~) * info (ResolveDocumentMethod t Document), MethodInfo * info Document p) => IsLabel t (Document -> p) Source # | |
| ((~) * info (ResolveDocumentMethod t Document), MethodInfo * info Document p) => IsLabelProxy t (Document -> p) Source # | |
| HasAttributeList * Document Source # | |
| type SignalList Document Source # | |
| type AttributeList Document Source # | |
class ManagedPtrNewtype a => IsDocument a Source #
Instances
Methods
getAttributeValue
data DocumentGetAttributeValueMethodInfo Source #
Instances
| ((~) * signature (Text -> m (Maybe Text)), MonadIO m, IsDocument a) => MethodInfo * DocumentGetAttributeValueMethodInfo a signature Source # | |
documentGetAttributeValue :: (MonadIO m, IsDocument a) => a -> Text -> m (Maybe Text) Source #
getAttributes
data DocumentGetAttributesMethodInfo Source #
Instances
| ((~) * signature (m [Ptr ()]), MonadIO m, IsDocument a) => MethodInfo * DocumentGetAttributesMethodInfo a signature Source # | |
documentGetAttributes :: (MonadIO m, IsDocument a) => a -> m [Ptr ()] Source #
getCurrentPageNumber
data DocumentGetCurrentPageNumberMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsDocument a) => MethodInfo * DocumentGetCurrentPageNumberMethodInfo a signature Source # | |
documentGetCurrentPageNumber :: (MonadIO m, IsDocument a) => a -> m Int32 Source #
getDocument
data DocumentGetDocumentMethodInfo Source #
Instances
| ((~) * signature (m (Ptr ())), MonadIO m, IsDocument a) => MethodInfo * DocumentGetDocumentMethodInfo a signature Source # | |
documentGetDocument :: (MonadIO m, IsDocument a) => a -> m (Ptr ()) Source #
Deprecated: Since 2.12. @document is already a representation ofthe document. Use it directly, or one of its children, as aninstance of the DOM.
getDocumentType
data DocumentGetDocumentTypeMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetDocumentTypeMethodInfo a signature Source # | |
documentGetDocumentType :: (MonadIO m, IsDocument a) => a -> m Text Source #
Deprecated: Since 2.12. Please use atk_document_get_attributes() toask for the document type if it applies.
getLocale
data DocumentGetLocaleMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsDocument a) => MethodInfo * DocumentGetLocaleMethodInfo a signature Source # | |
documentGetLocale :: (MonadIO m, IsDocument a) => a -> m Text Source #
Deprecated: (Since version 2.7.90)Please use atk_object_get_object_locale() instead.
getPageCount
data DocumentGetPageCountMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsDocument a) => MethodInfo * DocumentGetPageCountMethodInfo a signature Source # | |
documentGetPageCount :: (MonadIO m, IsDocument a) => a -> m Int32 Source #
setAttributeValue
data DocumentSetAttributeValueMethodInfo Source #
Instances
| ((~) * signature (Text -> Text -> m Bool), MonadIO m, IsDocument a) => MethodInfo * DocumentSetAttributeValueMethodInfo a signature Source # | |
documentSetAttributeValue :: (MonadIO m, IsDocument a) => a -> Text -> Text -> m Bool Source #
Signals
loadComplete
type DocumentLoadCompleteCallback = IO () Source #
data DocumentLoadCompleteSignalInfo Source #
Instances
| SignalInfo DocumentLoadCompleteSignalInfo Source # | |
| type HaskellCallbackType DocumentLoadCompleteSignalInfo Source # | |
afterDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId Source #
genClosure_DocumentLoadComplete :: DocumentLoadCompleteCallback -> IO Closure Source #
mk_DocumentLoadCompleteCallback :: C_DocumentLoadCompleteCallback -> IO (FunPtr C_DocumentLoadCompleteCallback) Source #
onDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId Source #
wrap_DocumentLoadCompleteCallback :: DocumentLoadCompleteCallback -> Ptr () -> Ptr () -> IO () Source #
loadStopped
type DocumentLoadStoppedCallback = IO () Source #
data DocumentLoadStoppedSignalInfo Source #
Instances
| SignalInfo DocumentLoadStoppedSignalInfo Source # | |
| type HaskellCallbackType DocumentLoadStoppedSignalInfo Source # | |
afterDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId Source #
genClosure_DocumentLoadStopped :: DocumentLoadStoppedCallback -> IO Closure Source #
mk_DocumentLoadStoppedCallback :: C_DocumentLoadStoppedCallback -> IO (FunPtr C_DocumentLoadStoppedCallback) Source #
onDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId Source #
wrap_DocumentLoadStoppedCallback :: DocumentLoadStoppedCallback -> Ptr () -> Ptr () -> IO () Source #
pageChanged
type DocumentPageChangedCallback = Int32 -> IO () Source #
data DocumentPageChangedSignalInfo Source #
Instances
| SignalInfo DocumentPageChangedSignalInfo Source # | |
| type HaskellCallbackType DocumentPageChangedSignalInfo Source # | |
afterDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId Source #
genClosure_DocumentPageChanged :: DocumentPageChangedCallback -> IO Closure Source #
mk_DocumentPageChangedCallback :: C_DocumentPageChangedCallback -> IO (FunPtr C_DocumentPageChangedCallback) Source #
onDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId Source #
wrap_DocumentPageChangedCallback :: DocumentPageChangedCallback -> Ptr () -> Int32 -> Ptr () -> IO () Source #
reload
type DocumentReloadCallback = IO () Source #
data DocumentReloadSignalInfo Source #
Instances
| SignalInfo DocumentReloadSignalInfo Source # | |
| type HaskellCallbackType DocumentReloadSignalInfo Source # | |
afterDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId Source #
genClosure_DocumentReload :: DocumentReloadCallback -> IO Closure Source #
mk_DocumentReloadCallback :: C_DocumentReloadCallback -> IO (FunPtr C_DocumentReloadCallback) Source #
onDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId Source #
wrap_DocumentReloadCallback :: DocumentReloadCallback -> Ptr () -> Ptr () -> IO () Source #