Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk3 GI.Gtk.Objects.PrintContext Sets a new cairo context on a print context. This function is intended to be used when implementing an internal print preview, it is not needed for printing, since GTK+ itself creates a suitable cairo context in that case. Since: 2.10
printOperationCancel :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk3 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. Since: 2.10
printOperationDrawPageFinish :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Signalize 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. In another case it is called by the library itself. Since: 2.16
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Returns the default page setup, see printOperationSetDefaultPageSetup. Since: 2.10
printOperationGetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Boolgi-gtk3 GI.Gtk.Objects.PrintOperation Gets the value of PrintOperation:embedPageSetup property. Since: 2.18
printOperationGetError :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Call this when the result of a print operation is PrintOperationResultError, either as returned by printOperationRun, or in the PrintOperation::done signal handler. The returned GError will contain more details on what went wrong. Since: 2.10
printOperationGetHasSelection :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Boolgi-gtk3 GI.Gtk.Objects.PrintOperation Gets the value of PrintOperation:hasSelection property. Since: 2.18
printOperationGetNPagesToPrint :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Int32gi-gtk3 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. Since: 2.18
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Returns the current print settings. Note that the return value is Nothing until either printOperationSetPrintSettings or printOperationRun have been called. Since: 2.10
printOperationGetStatus :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PrintStatusgi-gtk3 GI.Gtk.Objects.PrintOperation Returns the status of the print operation. Also see printOperationGetStatusString. Since: 2.10