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.

  1. type PrintOperationPreviewCallback = PrintOperationPreview -> PrintContext -> Maybe Window -> IO Bool

    gi-gtk4 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).

  2. type PrintOperationRequestPageSetupCallback = PrintContext -> Int32 -> PageSetup -> IO ()

    gi-gtk4 GI.Gtk.Objects.PrintOperation

    Emitted once for every page that is printed. This gives the application a chance to modify the page setup. Any changes done to setup will be in force only for printing this page.

  3. type PrintOperationStatusChangedCallback = IO ()

    gi-gtk4 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.

  4. type PrintOperationUpdateCustomWidgetCallback = Widget -> PageSetup -> PrintSettings -> IO ()

    gi-gtk4 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.

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

  6. newtype PrintSettings

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    Memory-managed wrapper type.

  7. PrintSettings :: ManagedPtr PrintSettings -> PrintSettings

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    No documentation available.

  8. module GI.Gtk.Objects.PrintUnixDialog

    GtkPrintUnixDialog implements a print dialog for platforms which don’t provide a native print dialog, like Unix. It can be used very much like any other GTK dialog, at the cost of the portability offered by the high-level printing API with PrintOperation. In order to print something with GtkPrintUnixDialog, you need to use printUnixDialogGetSelectedPrinter to obtain a Printer object and use it to construct a PrintJob using printJobNew. GtkPrintUnixDialog uses the following response values:

    GtkPrintUnixDialog as GtkBuildable

    The GtkPrintUnixDialog implementation of the GtkBuildable interface exposes its notebook internal children with the name “notebook”. An example of a GtkPrintUnixDialog UI definition fragment:

    xml code

    <object class="GtkPrintUnixDialog" id="dialog1">
    <child internal-child="notebook">
    <object class="GtkNotebook" id="notebook">
    <child>
    <object type="GtkNotebookPage">
    <property name="tab_expand">False</property>
    <property name="tab_fill">False</property>
    <property name="tab">
    <object class="GtkLabel" id="tablabel">
    <property name="label">Tab label</property>
    </object>
    </property>
    <property name="child">
    <object class="GtkLabel" id="tabcontent">
    <property name="label">Content on notebook tab</property>
    </object>
    </property>
    </object>
    </child>
    </object>
    </child>
    </object>
    

    CSS nodes

    GtkPrintUnixDialog has a single CSS node with name window. The style classes dialog and print are added.

  9. newtype PrintUnixDialog

    gi-gtk4 GI.Gtk.Objects.PrintUnixDialog

    Memory-managed wrapper type.

  10. PrintUnixDialog :: ManagedPtr PrintUnixDialog -> PrintUnixDialog

    gi-gtk4 GI.Gtk.Objects.PrintUnixDialog

    No documentation available.

Page 153 of many | Previous | Next