Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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-gtk3 GI.Gtk.Objects.PrintOperation

    Sets the label for the tab holding custom widgets. Since: 2.10

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

    gi-gtk3 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. Since: 2.10

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

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Sets up the PrintOperation to wait for calling of printOperationDrawPageFinish from application. It can be used for drawing page in another thread. This function must be called in the callback of “draw-page” signal. Since: 2.16

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

    gi-gtk3 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 PrintOperation. Since: 2.18

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

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Sets up the PrintOperation to generate a file instead of showing the print dialog. The indended 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. Since: 2.10

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

    gi-gtk3 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 callback of PrintOperation::beginPrint. Since: 2.18

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

    gi-gtk3 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. Since: 2.10

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

    gi-gtk3 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 hander. 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. Since: 2.10

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

    gi-gtk3 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. Since: 2.10

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

    gi-gtk3 GI.Gtk.Objects.PrintOperation

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

Page 30 of many | Previous | Next