Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. printOperationSetExportFilename :: (PrintOperationClass self, GlibString string) => self -> string -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Sets up the PrintOperation to generate a file instead of showing the print dialog. The intended use of this function is for implementing "Export to PDF" actions. Currently, PDF is the only supported format. "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.

  2. printOperationSetJobName :: (PrintOperationClass self, GlibString string) => self -> string -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Sets the name of the print job. The name is 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.

  3. printOperationSetNPages :: PrintOperationClass self => self -> Int -> IO ()

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

  4. printOperationSetShowProgress :: PrintOperationClass self => self -> Bool -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    If showProgress is True, the print operation will show a progress dialog during the print operation.

  5. printOperationSetTrackPrintStatus :: PrintOperationClass self => self -> Bool -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    If track_status is 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. This function is often implemented using some form of polling, so it should not be enabled unless needed.

  6. printOperationSetUnit :: PrintOperationClass self => self -> Unit -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Sets up the transformation for the cairo context obtained from PrintContext in such a way that distances are measured in units of unit.

  7. printOperationSetUseFullPage :: PrintOperationClass self => self -> Bool -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    If fullPage is 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).

  8. printOperationShowProgress :: PrintOperationClass self => Attr self Bool

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Determines whether to show a progress dialog during the print operation. Default value: False Since 2.10

  9. printOperationStatus :: PrintOperationClass self => ReadAttr self PrintStatus

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    The status of the print operation. Default value: 'PrintStatusInitial' Since 2.10

  10. printOperationStatusString :: (PrintOperationClass self, GlibString string) => ReadAttr self string

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    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. See the printOperationStatus property for a status value that is suitable for programmatic use. Default value: "" Since 2.10

Page 43 of many | Previous | Next