Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Gets emitted when a preview is requested from the native dialog. The default handler for this signal uses an external viewer application to preview. To implement a custom print preview, an application must return True from its handler for this signal. In order to use the provided context for the preview implementation, it must be given a suitable cairo context with printContextSetCairoContext. The custom preview implementation can use printOperationPreviewIsSelected and printOperationPreviewRenderPage to find pages which are selected for print and render them. The preview must be finished by calling printOperationPreviewEndPreview (typically in response to the user clicking a close button). Since: 2.10
type
PrintOperationRequestPageSetupCallback = PrintContext -> Int32 -> PageSetup -> IO ()gi-gtk3 GI.Gtk.Objects.PrintOperation Emitted once for every page that is printed, to give the application a chance to modify the page setup. Any changes done to setup will be in force only for printing this page. Since: 2.10
type
PrintOperationStatusChangedCallback = IO ()gi-gtk3 GI.Gtk.Objects.PrintOperation Emitted at between the various phases of the print operation. See PrintStatus for the phases that are being discriminated. Use printOperationGetStatus to find out the current status. Since: 2.10
type
PrintOperationUpdateCustomWidgetCallback = Widget -> PageSetup -> PrintSettings -> IO ()gi-gtk3 GI.Gtk.Objects.PrintOperation Emitted after change of selected printer. The actual page setup and print settings are passed to the custom widget, which can actualize itself according to this change. Since: 2.18
module GI.Gtk.Objects.
PrintSettings A GtkPrintSettings object represents the settings of a print dialog in a system-independent way. The main use for this object is that once you’ve printed you can get a settings object that represents the settings the user chose, and the next time you print you can pass that object in so that the user doesn’t have to re-set all his settings. Its also possible to enumerate the settings so that you can easily save the settings for the next time your app runs, or even store them in a document. The predefined keys try to use shared values as much as possible so that moving such a document between systems still works. Printing support was added in GTK+ 2.10.
-
gi-gtk3 GI.Gtk.Objects.PrintSettings Memory-managed wrapper type.
PrintSettings :: ManagedPtr PrintSettings -> PrintSettingsgi-gtk3 GI.Gtk.Objects.PrintSettings No documentation available.
type
PrintJobCompleteFunc = PrintJob -> GError -> IO ()gi-gtk4 GI.Gtk.Callbacks The type of callback that is passed to printJobSend. It is called when the print job has been completely sent.
type
PrintJobCompleteFunc_WithClosures = PrintJob -> Ptr () -> GError -> IO ()gi-gtk4 GI.Gtk.Callbacks The type of callback that is passed to printJobSend. It is called when the print job has been completely sent.
type
PrintSettingsFunc = Text -> Text -> IO ()gi-gtk4 GI.Gtk.Callbacks No description available in the introspection data.