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 (ForeignPtr Document)
- noDocument :: Maybe Document
- class ForeignPtrNewtype a => DocumentK a
- data DocumentGetAttributeValueMethodInfo
- documentGetAttributeValue :: (MonadIO m, DocumentK a) => a -> Text -> m (Maybe Text)
- data DocumentGetAttributesMethodInfo
- documentGetAttributes :: (MonadIO m, DocumentK a) => a -> m [Ptr ()]
- data DocumentGetCurrentPageNumberMethodInfo
- documentGetCurrentPageNumber :: (MonadIO m, DocumentK a) => a -> m Int32
- data DocumentGetDocumentMethodInfo
- documentGetDocument :: (MonadIO m, DocumentK a) => a -> m (Ptr ())
- data DocumentGetDocumentTypeMethodInfo
- documentGetDocumentType :: (MonadIO m, DocumentK a) => a -> m Text
- data DocumentGetLocaleMethodInfo
- documentGetLocale :: (MonadIO m, DocumentK a) => a -> m Text
- data DocumentGetPageCountMethodInfo
- documentGetPageCount :: (MonadIO m, DocumentK a) => a -> m Int32
- data DocumentSetAttributeValueMethodInfo
- documentSetAttributeValue :: (MonadIO m, DocumentK a) => a -> Text -> Text -> m Bool
- type DocumentLoadCompleteCallback = IO ()
- type DocumentLoadCompleteCallbackC = Ptr () -> Ptr () -> IO ()
- data DocumentLoadCompleteSignalInfo
- afterDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId
- documentLoadCompleteCallbackWrapper :: DocumentLoadCompleteCallback -> Ptr () -> Ptr () -> IO ()
- documentLoadCompleteClosure :: DocumentLoadCompleteCallback -> IO Closure
- mkDocumentLoadCompleteCallback :: DocumentLoadCompleteCallbackC -> IO (FunPtr DocumentLoadCompleteCallbackC)
- noDocumentLoadCompleteCallback :: Maybe DocumentLoadCompleteCallback
- onDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId
- type DocumentLoadStoppedCallback = IO ()
- type DocumentLoadStoppedCallbackC = Ptr () -> Ptr () -> IO ()
- data DocumentLoadStoppedSignalInfo
- afterDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId
- documentLoadStoppedCallbackWrapper :: DocumentLoadStoppedCallback -> Ptr () -> Ptr () -> IO ()
- documentLoadStoppedClosure :: DocumentLoadStoppedCallback -> IO Closure
- mkDocumentLoadStoppedCallback :: DocumentLoadStoppedCallbackC -> IO (FunPtr DocumentLoadStoppedCallbackC)
- noDocumentLoadStoppedCallback :: Maybe DocumentLoadStoppedCallback
- onDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId
- type DocumentPageChangedCallback = Int32 -> IO ()
- type DocumentPageChangedCallbackC = Ptr () -> Int32 -> Ptr () -> IO ()
- data DocumentPageChangedSignalInfo
- afterDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId
- documentPageChangedCallbackWrapper :: DocumentPageChangedCallback -> Ptr () -> Int32 -> Ptr () -> IO ()
- documentPageChangedClosure :: DocumentPageChangedCallback -> IO Closure
- mkDocumentPageChangedCallback :: DocumentPageChangedCallbackC -> IO (FunPtr DocumentPageChangedCallbackC)
- noDocumentPageChangedCallback :: Maybe DocumentPageChangedCallback
- onDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId
- type DocumentReloadCallback = IO ()
- type DocumentReloadCallbackC = Ptr () -> Ptr () -> IO ()
- data DocumentReloadSignalInfo
- afterDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId
- documentReloadCallbackWrapper :: DocumentReloadCallback -> Ptr () -> Ptr () -> IO ()
- documentReloadClosure :: DocumentReloadCallback -> IO Closure
- mkDocumentReloadCallback :: DocumentReloadCallbackC -> IO (FunPtr DocumentReloadCallbackC)
- noDocumentReloadCallback :: Maybe DocumentReloadCallback
- onDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId
Exported types
Constructors
Document (ForeignPtr Document) |
Instances
((~) * info (ResolveDocumentMethod t Document), MethodInfo * info Document p) => IsLabelProxy t (Document -> p) | |
type ParentTypes Document | |
type AttributeList Document | |
type SignalList Document |
class ForeignPtrNewtype a => DocumentK a Source
Instances
(ForeignPtrNewtype o, IsDescendantOf Document o) => DocumentK o |
Methods
documentGetAttributeValue
data DocumentGetAttributeValueMethodInfo Source
Instances
((~) * signature (Text -> m (Maybe Text)), MonadIO m, DocumentK a) => MethodInfo * DocumentGetAttributeValueMethodInfo a signature |
documentGetAttributes
data DocumentGetAttributesMethodInfo Source
Instances
((~) * signature (m [Ptr ()]), MonadIO m, DocumentK a) => MethodInfo * DocumentGetAttributesMethodInfo a signature |
documentGetAttributes :: (MonadIO m, DocumentK a) => a -> m [Ptr ()] Source
documentGetCurrentPageNumber
data DocumentGetCurrentPageNumberMethodInfo Source
Instances
((~) * signature (m Int32), MonadIO m, DocumentK a) => MethodInfo * DocumentGetCurrentPageNumberMethodInfo a signature |
documentGetCurrentPageNumber :: (MonadIO m, DocumentK a) => a -> m Int32 Source
documentGetDocument
data DocumentGetDocumentMethodInfo Source
Instances
((~) * signature (m (Ptr ())), MonadIO m, DocumentK a) => MethodInfo * DocumentGetDocumentMethodInfo a signature |
documentGetDocument :: (MonadIO m, DocumentK 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.
documentGetDocumentType
data DocumentGetDocumentTypeMethodInfo Source
Instances
((~) * signature (m Text), MonadIO m, DocumentK a) => MethodInfo * DocumentGetDocumentTypeMethodInfo a signature |
documentGetDocumentType :: (MonadIO m, DocumentK a) => a -> m Text Source
Deprecated: Since 2.12. Please use atk_document_get_attributes() toask for the document type if it applies.
documentGetLocale
data DocumentGetLocaleMethodInfo Source
Instances
((~) * signature (m Text), MonadIO m, DocumentK a) => MethodInfo * DocumentGetLocaleMethodInfo a signature |
documentGetLocale :: (MonadIO m, DocumentK a) => a -> m Text Source
Deprecated: (Since version 2.7.90)Please use atk_object_get_object_locale() instead.
documentGetPageCount
data DocumentGetPageCountMethodInfo Source
Instances
((~) * signature (m Int32), MonadIO m, DocumentK a) => MethodInfo * DocumentGetPageCountMethodInfo a signature |
documentGetPageCount :: (MonadIO m, DocumentK a) => a -> m Int32 Source
documentSetAttributeValue
data DocumentSetAttributeValueMethodInfo Source
Instances
((~) * signature (Text -> Text -> m Bool), MonadIO m, DocumentK a) => MethodInfo * DocumentSetAttributeValueMethodInfo a signature |
Signals
LoadComplete
type DocumentLoadCompleteCallback = IO () Source
type DocumentLoadCompleteCallbackC = Ptr () -> Ptr () -> IO () Source
afterDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId Source
documentLoadCompleteCallbackWrapper :: DocumentLoadCompleteCallback -> Ptr () -> Ptr () -> IO () Source
mkDocumentLoadCompleteCallback :: DocumentLoadCompleteCallbackC -> IO (FunPtr DocumentLoadCompleteCallbackC) Source
onDocumentLoadComplete :: (GObject a, MonadIO m) => a -> DocumentLoadCompleteCallback -> m SignalHandlerId Source
LoadStopped
type DocumentLoadStoppedCallback = IO () Source
type DocumentLoadStoppedCallbackC = Ptr () -> Ptr () -> IO () Source
afterDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId Source
documentLoadStoppedCallbackWrapper :: DocumentLoadStoppedCallback -> Ptr () -> Ptr () -> IO () Source
mkDocumentLoadStoppedCallback :: DocumentLoadStoppedCallbackC -> IO (FunPtr DocumentLoadStoppedCallbackC) Source
onDocumentLoadStopped :: (GObject a, MonadIO m) => a -> DocumentLoadStoppedCallback -> m SignalHandlerId Source
PageChanged
type DocumentPageChangedCallback = Int32 -> IO () Source
afterDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId Source
documentPageChangedCallbackWrapper :: DocumentPageChangedCallback -> Ptr () -> Int32 -> Ptr () -> IO () Source
mkDocumentPageChangedCallback :: DocumentPageChangedCallbackC -> IO (FunPtr DocumentPageChangedCallbackC) Source
onDocumentPageChanged :: (GObject a, MonadIO m) => a -> DocumentPageChangedCallback -> m SignalHandlerId Source
Reload
type DocumentReloadCallback = IO () Source
type DocumentReloadCallbackC = Ptr () -> Ptr () -> IO () Source
afterDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId Source
documentReloadCallbackWrapper :: DocumentReloadCallback -> Ptr () -> Ptr () -> IO () Source
onDocumentReload :: (GObject a, MonadIO m) => a -> DocumentReloadCallback -> m SignalHandlerId Source