Hoogle Search
Within LTS Haskell 24.37 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printJobSetScale :: (HasCallStack, MonadIO m, IsPrintJob a) => a -> Double -> m ()gi-gtk4 GI.Gtk.Objects.PrintJob Sets the scale for this job.
- 0 means unscaled.
printJobSetSourceFd :: (HasCallStack, MonadIO m, IsPrintJob a) => a -> Int32 -> m ()gi-gtk4 GI.Gtk.Objects.PrintJob Make the GtkPrintJob send an existing document to the printing system. The file can be in any format understood by the platforms printing system (typically PostScript, but on many platforms PDF may work too). See printerAcceptsPdf and printerAcceptsPs. This is similar to printJobSetSourceFile, but takes expects an open file descriptor for the file, instead of a filename.
printJobSetSourceFile :: (HasCallStack, MonadIO m, IsPrintJob a) => a -> [Char] -> m ()gi-gtk4 GI.Gtk.Objects.PrintJob Make the GtkPrintJob send an existing document to the printing system. The file can be in any format understood by the platforms printing system (typically PostScript, but on many platforms PDF may work too). See printerAcceptsPdf and printerAcceptsPs.
printJobSetTrackPrintStatus :: (HasCallStack, MonadIO m, IsPrintJob a) => a -> Bool -> m ()gi-gtk4 GI.Gtk.Objects.PrintJob If track_status is True, the print job will try to continue report on the status of the print job in the printer queues and printer. This can allow your application to show things like “out of paper” issues, and when the print job actually reaches the printer. This function is often implemented using some form of polling, so it should not be enabled unless needed.
printOperationCancel :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk4 GI.Gtk.Objects.PrintOperation Cancels a running print operation. This function may be called from a PrintOperation::beginPrint, PrintOperation::paginate or PrintOperation::drawPage signal handler to stop the currently running print operation.
printOperationDrawPageFinish :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk4 GI.Gtk.Objects.PrintOperation Signal that drawing of particular page is complete. It is called after completion of page drawing (e.g. drawing in another thread). If printOperationSetDeferDrawing was called before, then this function has to be called by application. Otherwise it is called by GTK itself.
-
gi-gtk4 GI.Gtk.Objects.PrintOperation Returns the default page setup.
printOperationGetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.PrintOperation Gets whether page setup selection combos are embedded
printOperationGetError :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk4 GI.Gtk.Objects.PrintOperation Call this when the result of a print operation is PrintOperationResultError. It can be called either after printOperationRun returns, or in the PrintOperation::done signal handler. The returned GError will contain more details on what went wrong.
printOperationGetHasSelection :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.PrintOperation Gets whether there is a selection.