Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printOperationSupportSelection :: PrintOperationClass self => Attr self Boolgtk Graphics.UI.Gtk.Printing.PrintOperation If True, the print operation will support print of selection. This allows the print dialog to show a Selection button. Default value: False Since 2.18
printOperationTrackPrintStatus :: PrintOperationClass self => Attr self Boolgtk Graphics.UI.Gtk.Printing.PrintOperation If True, the print operation will try to continue report on the status of the print job in the printer queues and printer. This can allow your application to show things like "out of paper" issues, and when the print job actually reaches the printer. However, this is often implemented using polling, and should not be enabled unless needed. Default value: False Since 2.10
printOperationUnit :: PrintOperationClass self => Attr self Unitgtk Graphics.UI.Gtk.Printing.PrintOperation The transformation for the cairo context obtained from PrintContext is set up in such a way that distances are measured in units of unit. Default value: 'UnitPixel' Since 2.10
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
printOptBeginPrint :: PrintOperationClass self => Signal self (PrintContext -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted after the user has finished changing print settings in the dialog, before the actual rendering starts. A typical use for 'begin-print' is to use the parameters from the PrintContext and paginate the document accordingly, and then set the number of pages with printOperationSetNPages.
printOptCreateCustomWidget :: PrintOperationClass self => Signal self (IO Widget)gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted when displaying the print dialog. If you return a widget in a handler for this signal it will be added to a custom tab in the print dialog. You typically return a container widget with multiple widgets in it. The print dialog owns the returned widget, and its lifetime is not controlled by the application. However, the widget is guaranteed to stay around until the customWidgetApply signal is emitted on the operation. Then you can read out any information you need from the widgets.
printOptCustomWidgetApply :: PrintOperationClass self => Signal self (Widget -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted right before beginPrint if you added a custom widget in the createCustomWidtet handler. When you get this signal you should read the information from the custom widgets, as the widgets are not guaraneed to be around at a later time.
printOptDone :: PrintOperationClass self => Signal self (PrintOperationResult -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted when the print operation run has finished doing everything required for printing. result gives you information about what happened during the run. If result is PrintOperationResultError then you can call printOperationGetError for more information. If you enabled print status tracking then printOperationIsFinished may still return False after done was emitted.
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.
printOptEndPrint :: PrintOperationClass self => Signal self (PrintContext -> IO ())gtk Graphics.UI.Gtk.Printing.PrintOperation Emitted after all pages have been rendered. A handler for this signal can clean up any resources that have been allocated in the beginPrint handler.