Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview Connect a signal handler for the ready signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after printOperationPreview #ready callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. -
gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview Connect a signal handler for the ready signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on printOperationPreview #ready callback
type
AsyncReadyCallback = GObject -> AsyncResult -> IO ()gio System.GIO.Async.AsyncResult No documentation available.
marshalAsyncReadyCallback :: AsyncReadyCallback -> IO GAsyncReadyCallbackgio System.GIO.Async.AsyncResult No documentation available.
IoErrorAlreadyMounted :: IOErrorEnumgio System.GIO.Enums No documentation available.
IoErrorReadOnly :: IOErrorEnumgio System.GIO.Enums No documentation available.
type
FileReadMoreCallback = ByteString -> IO Boolgio System.GIO.File.File No documentation available.
fileRead :: FileClass file => file -> Maybe Cancellable -> IO FileInputStreamgio System.GIO.File.File Opens a file for reading. The result is a FileInputStream that can be used to read the contents of the file. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IoErrorCancelled will be returned. If the file does not exist, the IoErrorNotFound error will be returned. If the file is a directory, the IoErrorIsDirectory error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on.
fileReadAsync :: FileClass file => file -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()gio System.GIO.File.File Asynchronously opens file for reading. For more details, see fileRead which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call fileReadFinish to get the result of the operation.
fileReadFinish :: FileClass file => file -> AsyncResult -> IO FileInputStreamgio System.GIO.File.File Finishes an asynchronous file read operation started with fileReadAsync.