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.

  1. printOperationSetCustomTabLabel :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Maybe Text -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets the label for the tab holding custom widgets.

  2. printOperationSetDefaultPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a, IsPageSetup b) => a -> Maybe b -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Makes defaultPageSetup the default page setup for op. This page setup will be used by printOperationRun, but it can be overridden on a per-page basis by connecting to the PrintOperation::requestPageSetup signal.

  3. printOperationSetDeferDrawing :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets up the GtkPrintOperation to wait for calling of [methodgtk.PrintOperation.draw_page_finish from application. This can be used for drawing page in another thread. This function must be called in the callback of the PrintOperation::drawPage signal.

  4. printOperationSetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Embed page size combo box and orientation combo box into page setup page. Selected page setup is stored as default page setup in GtkPrintOperation.

  5. printOperationSetExportFilename :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> [Char] -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets up the GtkPrintOperation to generate a file instead of showing the print dialog. The intended use of this function is for implementing “Export to PDF” actions. Currently, PDF is the only supported format. “Print to PDF” support is independent of this and is done by letting the user pick the “Print to PDF” item from the list of printers in the print dialog.

  6. printOperationSetHasSelection :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets whether there is a selection to print. Application has to set number of pages to which the selection will draw by printOperationSetNPages in a handler for the PrintOperation::beginPrint signal.

  7. printOperationSetJobName :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Text -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets the name of the print job. The name is used to identify the job (e.g. in monitoring applications like eggcups). If you don’t set a job name, GTK picks a default one by numbering successive print jobs.

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

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets the number of pages in the document. This must be set to a positive number before the rendering starts. It may be set in a PrintOperation::beginPrint signal handler. Note that the page numbers passed to the PrintOperation::requestPageSetup and PrintOperation::drawPage signals are 0-based, i.e. if the user chooses to print all pages, the last drawPage signal will be for page nPages - 1.

  9. printOperationSetPrintSettings :: (HasCallStack, MonadIO m, IsPrintOperation a, IsPrintSettings b) => a -> Maybe b -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets the print settings for op. This is typically used to re-establish print settings from a previous print operation, see printOperationRun.

  10. printOperationSetShowProgress :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    If showProgress is True, the print operation will show a progress dialog during the print operation.

Page 47 of many | Previous | Next