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.

  1. printContextGetPageSetup :: PrintContextClass self => self -> IO PageSetup

    gtk Graphics.UI.Gtk.Printing.PrintContext

    Obtains the PageSetup that determines the page dimensions of the PrintContext.

  2. printOperationCurrentPage :: PrintOperationClass self => Attr self Int

    gtk 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

  3. printOperationDefaultPageSetup :: (PrintOperationClass self, PageSetupClass pageSetup) => ReadWriteAttr self PageSetup pageSetup

    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

  4. 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

  5. printOperationEmbedPageSetup :: PrintOperationClass self => Attr self Bool

    gtk 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

  6. printOperationGetNPagesToPrint :: PrintOperationClass self => self -> IO Int

    gtk 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

  7. printOperationNPages :: PrintOperationClass self => Attr self Int

    gtk 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

  8. printOperationNPagesToPrint :: PrintOperationClass self => ReadAttr self Int

    gtk 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

  9. printOperationPreviewRenderPage :: PrintOperationPreviewClass self => self -> Int -> IO ()

    gtk 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.

  10. printOperationSetCurrentPage :: PrintOperationClass self => self -> Int -> IO ()

    gtk 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.

Page 347 of many | Previous | Next