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.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation The gotPageSize signal is emitted once for each page that gets rendered to the preview. A handler for this signal should update the context according to pageSetup and set up a suitable cairo context, using printContextSetCairoContext.
printOptPaginate :: PrintOperationClass self => Signal self (PrintContext -> IO Bool)gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted after the beginPrint signal, but before the actual rendering starts. It keeps getting emitted until a connected signal handler returns True. The paginate signal is intended to be used for paginating a document in small chunks, to avoid blocking the user interface for a long time. The signal handler should update the number of pages using printOperationSetNPages, and return True if the document has been completely paginated. If you don't need to do pagination in chunks, you can simply do it all in the 'begin-print handler', and set the number of pages from there.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Gets emitted when a preview is requested from the native dialog. The default handler for this signal uses an external viewer application to preview. To implement a custom print preview, an application must return True from its handler for this signal. In order to use the provided context for the preview implementation, it must be given a suitable cairo context with printContextSetCairoContext. The custom preview implementation can use printOperationPreviewIsSelected and printOperationPreviewRenderPage to find pages which are selected for print and render them. The preview must be finished by calling printOperationPreviewEndPreview (typically in response to the user clicking a close button).
printOptReady :: PrintOperationPreviewClass self => Signal self (PrintContext -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation The ready signal gets emitted once per preview operation, before the first page is rendered. A handler for this signal can be used for setup tasks.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted once for every page that is printed, to give the application a chance to modify the page setup. Any changes done to setup will be in force only for printing this page.
printOptStatusChanged :: PrintOperationClass self => Signal self (IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted at between the various phases of the print operation. See PrintStatus for the phases that are being discriminated. Use printOperationGetStatus to find out the current status.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted after change of selected printer. The actual page setup and print settings are passed to the custom widget, which can actualize itself according to this change.
- Available since Gtk+ version 2.18
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Runs a page setup dialog, letting the user modify the values from pageSetup. If the user cancels the dialog, the returned PageSetup is identical to the passed in pageSetup, otherwise it contains the modifications done in the dialog. Note that this function may use a recursive mainloop to show the page setup dialog. See printRunPageSetupDialogAsync if this is a problem.
-
gtk Graphics.UI.Gtk.Printing.PrintOperation Runs a page setup dialog, letting the user modify the values from pageSetup. In contrast to printRunPageSetupDialog, this function returns after showing the page setup dialog on platforms that support this, and calls doneCb from a signal handler for the response signal of the dialog.
printSettingsCollate :: PrintSettingsClass self => Attr self Boolgtk Graphics.UI.Gtk.Printing.PrintSettings The value of 'PrintSettingsCollate'.