Hoogle Search
Within LTS Haskell 24.37 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printOperationGetError :: PrintOperationClass self => self -> IO ()gtk3 Graphics.UI.Gtk.Printing.PrintOperation Call this when the result of a print operation is PrintOperationResultError, either as returned by printOperationRun, or in the done signal handler. The returned GError will contain more details on what went wrong.
printOperationGetNPagesToPrint :: PrintOperationClass self => self -> IO Intgtk3 Graphics.UI.Gtk.Printing.PrintOperation Returns the number of pages that will be printed. Note that this value is set during print preparation phase (PrintStatusPreparing), so this function should never be called before the data generation phase (PrintStatusGeneratingData). You can connect to the statusChanged signal and call printOperationGetNPagesToPrint when print status is PrintStatusGeneratingData. This is typically used to track the progress of print operation.
- Available since Gtk+ version 2.18
printOperationGetStatus :: PrintOperationClass self => self -> IO PrintStatusgtk3 Graphics.UI.Gtk.Printing.PrintOperation Returns the status of the print operation. Also see printOperationGetStatusString.
printOperationGetStatusString :: (PrintOperationClass self, GlibString string) => self -> IO stringgtk3 Graphics.UI.Gtk.Printing.PrintOperation Returns a string representation of the status of the print operation. The string is translated and suitable for displaying the print status e.g. in a Statusbar. Use printOperationGetStatus to obtain a status value that is suitable for programmatic use.
printOperationHasSelection :: PrintOperationClass self => Attr self Boolgtk3 Graphics.UI.Gtk.Printing.PrintOperation Determines whether there is a selection in your application. This can allow your application to print the selection. This is typically used to make a Selection button sensitive. Default value: False Since 2.18
printOperationIsFinished :: PrintOperationClass self => self -> IO Boolgtk3 Graphics.UI.Gtk.Printing.PrintOperation A convenience function to find out if the print operation is finished, either successfully (PrintStatusFinished) or unsuccessfully (PrintStatusFinishedAborted). Note: when you enable print status tracking the print operation can be in a non-finished state even after done has been called, as the operation status then tracks the print job status on the printer.
printOperationJobName :: (PrintOperationClass self, GlibString string) => Attr self stringgtk3 Graphics.UI.Gtk.Printing.PrintOperation A string used to identify the job (e.g. in monitoring applications like eggcups). If you don't set a job name, GTK+ picks a default one by numbering successive print jobs. Default value: "" Since 2.10
printOperationNPages :: PrintOperationClass self => Attr self Intgtk3 Graphics.UI.Gtk.Printing.PrintOperation 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 drawPage signal will be for page nPages - 1. Allowed values: >= GMaxulong Default value: -1 Since 2.10
printOperationNPagesToPrint :: PrintOperationClass self => ReadAttr self Intgtk3 Graphics.UI.Gtk.Printing.PrintOperation The number of pages that will be printed. Note that this value is set during print preparation phase ('PrintStatusPreparing'), so this value should never be get before the data generation phase ('PrintStatusGeneratingData'). You can connect to the statusChanged signal and call printOperationGetNPagesToPrint when print status is 'PrintStatusGeneratingData'. This is typically used to track the progress of print operation. Allowed values: >= GMaxulong Default value: -1 Since 2.18
printOperationNew :: IO PrintOperationgtk3 Graphics.UI.Gtk.Printing.PrintOperation Creates a new PrintOperation.