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.
printOperationNew :: IO PrintOperationgtk Graphics.UI.Gtk.Printing.PrintOperation Creates a new PrintOperation.
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.
printOperationPreviewIsSelected :: PrintOperationPreviewClass self => self -> Int -> IO Boolgtk Graphics.UI.Gtk.Printing.PrintOperation Returns whether the given page is included in the set of pages that have been selected for printing.
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.
-
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
-
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).
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.
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.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Sets the label for the tab holding custom widgets.
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