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.
printOperationCurrentPage :: PrintOperationClass self => Attr self Intgtk3 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
-
gtk3 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 ()gtk3 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 Boolgtk3 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
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
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
printOperationPreviewRenderPage :: PrintOperationPreviewClass self => self -> Int -> IO ()gtk3 Graphics.UI.Gtk.Printing.PrintOperation Renders a page to the preview, using the print context that was passed to the "preview" handler together with preview. A custom iprint preview should use this function in its expose handler to render the currently selected page. Note that this function requires a suitable cairo context to be associated with the print context.
printOperationSetCurrentPage :: PrintOperationClass self => self -> Int -> IO ()gtk3 Graphics.UI.Gtk.Printing.PrintOperation Sets the current page. If this is called 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.
printOperationSetNPages :: PrintOperationClass self => self -> Int -> IO ()gtk3 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.