Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printOperationSetNPages :: PrintOperationClass self => self -> Int -> IO ()gtk Graphics.UI.Gtk.Printing.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 beginPrint signal handler. Note that the page numbers passed to the requestPageSetup and drawPage signals are 0-based, i.e. if the user chooses to print all pages, the last 'draw-page' signal will be for page nPages - 1.
printOperationSetUseFullPage :: PrintOperationClass self => self -> Bool -> IO ()gtk Graphics.UI.Gtk.Printing.PrintOperation If fullPage is True, the transformation for the cairo context obtained from PrintContext puts the origin at the top left corner of the page (which may not be the top left corner of the sheet, depending on page orientation and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins).
printOperationUseFullPage :: PrintOperationClass self => Attr self Boolgtk Graphics.UI.Gtk.Printing.PrintOperation If True, the transformation for the cairo context obtained from PrintContext puts the origin at the top left corner of the page (which may not be the top left corner of the sheet, depending on page orientation and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins). Default value: False Since 2.10
printOptDrawPage :: PrintOperationClass self => Signal self (PrintContext -> Int -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted for every page that is printed. The signal handler must render the pageNr's page onto the cairo context obtained from context using printContextGetCairoContext. Use printOperationSetUseFullPage and printOperationSetUnit before starting the print operation to set up the transformation of the cairo context according to your needs.
-
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.
-
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.
-
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.
-
gtk Graphics.UI.Gtk.Printing.PrintSettings No documentation available.
-
gtk Graphics.UI.Gtk.Printing.PrintSettings No documentation available.