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.

  1. printContextSetCairoContext :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> Context -> Double -> Double -> m ()

    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

  2. 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

  3. 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

  4. printOperationGetDefaultPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PageSetup

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Returns the default page setup, see printOperationSetDefaultPageSetup. Since: 2.10

  5. printOperationGetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Bool

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Gets the value of PrintOperation:embedPageSetup property. Since: 2.18

  6. 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

  7. printOperationGetHasSelection :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Bool

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Gets the value of PrintOperation:hasSelection property. Since: 2.18

  8. printOperationGetNPagesToPrint :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Int32

    gi-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

  9. printOperationGetPrintSettings :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PrintSettings

    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

  10. printOperationGetStatus :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PrintStatus

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Returns the status of the print operation. Also see printOperationGetStatusString. Since: 2.10

Page 28 of many | Previous | Next