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. printOperationPreviewEndPreview :: PrintOperationPreviewClass self => self -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Ends a preview. This function must be called to finish a custom print preview.

  2. printOperationPreviewIsSelected :: PrintOperationPreviewClass self => self -> Int -> IO Bool

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Returns whether the given page is included in the set of pages that have been selected for printing.

  3. printOperationPreviewRenderPage :: PrintOperationPreviewClass self => self -> Int -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Renders a page to the preview, using the print context that was passed to the "preview" handler together with preview. A custom iprint preview should use this function in its expose handler to render the currently selected page. Note that this function requires a suitable cairo context to be associated with the print context.

  4. printOperationPrintSettings :: (PrintOperationClass self, PrintSettingsClass printSettings) => ReadWriteAttr self PrintSettings printSettings

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    The PrintSettings used for initializing the dialog. Setting this property is typically used to re-establish print settings from a previous print operation, see printOperationRun. Since 2.10

  5. printOperationRun :: (PrintOperationClass self, WindowClass parent) => self -> PrintOperationAction -> parent -> IO PrintOperationResult

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Runs the print operation, by first letting the user modify print settings in the print dialog, and then print the document. Normally that this function does not return until the rendering of all pages is complete. You can connect to the statusChanged signal on op to obtain some information about the progress of the print operation. Furthermore, it may use a recursive mainloop to show the print dialog. If you call printOperationSetAllowAsync or set the allowAsync property the operation will run asynchronously if this is supported on the platform. The done signal will be emitted with the result of the operation when the it is done (i.e. when the dialog is canceled, or when the print succeeds or fails).

  6. printOperationSetAllowAsync :: PrintOperationClass self => self -> Bool -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Sets whether the printOperationRun may return before the print operation is completed. Note that some platforms may not allow asynchronous operation.

  7. printOperationSetCurrentPage :: PrintOperationClass self => self -> Int -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Sets the current page. If this is called before printOperationRun, the user will be able to select to print only the current page. Note that this only makes sense for pre-paginated documents.

  8. printOperationSetCustomTabLabel :: (PrintOperationClass self, GlibString string) => self -> string -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Sets the label for the tab holding custom widgets.

  9. printOperationSetDeferDrawing :: PrintOperationClass self => self -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.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.

    • Available since Gtk+ version 2.16

  10. printOperationSetExportFilename :: (PrintOperationClass self, GlibString string) => self -> string -> IO ()

    gtk3 Graphics.UI.Gtk.Printing.PrintOperation

    Sets up the PrintOperation 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.

Page 88 of many | Previous | Next