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.

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

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

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

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

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

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

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

  8. printOperationSetSupportSelection :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets whether selection is supported by GtkPrintOperation.

  9. printOperationSetTrackPrintStatus :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    If track_status is True, the print operation 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.

  10. printOperationSetUnit :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Unit -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Sets up the transformation for the cairo context obtained from GtkPrintContext in such a way that distances are measured in units of unit.

Page 68 of many | Previous | Next