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.

  1. printOperationHasSelection :: PrintOperationClass self => Attr self Bool

    gtk 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

  2. printOperationIsFinished :: PrintOperationClass self => self -> IO Bool

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

  3. printOperationJobName :: (PrintOperationClass self, GlibString string) => Attr self string

    gtk 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

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

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

  6. printOperationNew :: IO PrintOperation

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Creates a new PrintOperation.

  7. printOperationPreviewEndPreview :: PrintOperationPreviewClass self => self -> IO ()

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Ends a preview. This function must be called to finish a custom print preview.

  8. printOperationPreviewIsSelected :: PrintOperationPreviewClass self => self -> Int -> IO Bool

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    Returns whether the given page is included in the set of pages that have been selected for printing.

  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. printOperationPrintSettings :: (PrintOperationClass self, PrintSettingsClass printSettings) => ReadWriteAttr self PrintSettings printSettings

    gtk Graphics.UI.Gtk.Printing.PrintOperation

    The PrintSettings used for initializing the dialog. Setting this property is typically used to re-establish print settings from a previous print operation, see printOperationRun. Since 2.10

Page 63 of many | Previous | Next