Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. printOperationNew :: IO PrintOperation

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Creates a new PrintOperation.

  2. printOperationPreviewEndPreview :: PrintOperationPreviewClass self => self -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

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

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

    gtk Graphics.UI.Gtk.Printing.PrintOperation

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

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

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

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

    gtk 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

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

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

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

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

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

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

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

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Sets the label for the tab holding custom widgets.

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

    gtk 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

Page 42 of many | Previous | Next