Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
printOperationGetNPagesToPrint :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Int32gi-gtk4 GI.Gtk.Objects.PrintOperation Returns the number of pages that will be printed. Note that this value is set during print preparation phase (PrintStatusPreparing), so this function should never be called before the data generation phase (PrintStatusGeneratingData). You can connect to the PrintOperation::statusChanged signal and call printOperationGetNPagesToPrint when print status is PrintStatusGeneratingData. This is typically used to track the progress of print operation.
-
gi-gtk4 GI.Gtk.Objects.PrintOperation Returns the current print settings. Note that the return value is Nothing until either printOperationSetPrintSettings or printOperationRun have been called.
printOperationGetStatus :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PrintStatusgi-gtk4 GI.Gtk.Objects.PrintOperation Returns the status of the print operation. Also see printOperationGetStatusString.