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.
printOperationCurrentPage :: PrintOperationClass self => Attr self Intgtk Graphics.UI.Gtk.Printing.PrintOperation The current page in the document. If this is set 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. Allowed values: >= GMaxulong Default value: -1 Since 2.10
printOperationCustomTabLabel :: (PrintOperationClass self, GlibString string) => Attr self stringgtk Graphics.UI.Gtk.Printing.PrintOperation Used as the label of the tab containing custom widgets. Note that this property may be ignored on some platforms. If this is Nothing, GTK+ uses a default label. Default value: Nothing Since 2.10
-
gtk Graphics.UI.Gtk.Printing.PrintOperation The PageSetup used by default. This page setup will be used by printOperationRun, but it can be overridden on a per-page basis by connecting to the requestPageSetup signal. Since 2.10
printOperationDrawPageFinish :: PrintOperationClass self => self -> IO ()gtk Graphics.UI.Gtk.Printing.PrintOperation Signalize that drawing of particular page is complete. It is called after completion of page drawing (e.g. drawing in another thread). If printOperationSetDeferDrawing was called before, then this function has to be called by application. In another case it is called by the library itself.
- Available since Gtk+ version 2.16
printOperationEmbedPageSetup :: PrintOperationClass self => Attr self Boolgtk Graphics.UI.Gtk.Printing.PrintOperation If True, page size combo box and orientation combo box are embedded into page setup page. Default value: False Since 2.18
printOperationExportFilename :: (PrintOperationClass self, GlibString string) => Attr self stringgtk Graphics.UI.Gtk.Printing.PrintOperation The name of a file to generate instead of showing the print dialog. Currently, PDF is the only supported format. The intended use of this property is for implementing "Export to PDF" actions. "Print to PDF" support is independent of this and is done by letting the user pick the "Print to PDF" item from the list of printers in the print dialog. Default value: Nothing Since 2.10
printOperationGetError :: PrintOperationClass self => self -> IO ()gtk 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 Intgtk 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 PrintStatusgtk Graphics.UI.Gtk.Printing.PrintOperation Returns the status of the print operation. Also see printOperationGetStatusString.
printOperationGetStatusString :: (PrintOperationClass self, GlibString string) => self -> IO stringgtk 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.