Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

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

  2. newtype PrintSettings

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    Memory-managed wrapper type.

  3. PrintSettings :: ManagedPtr PrintSettings -> PrintSettings

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    No documentation available.

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

  5. newtype PrintUnixDialog

    gi-gtk4 GI.Gtk.Objects.PrintUnixDialog

    Memory-managed wrapper type.

  6. PrintUnixDialog :: ManagedPtr PrintUnixDialog -> PrintUnixDialog

    gi-gtk4 GI.Gtk.Objects.PrintUnixDialog

    No documentation available.

  7. module GI.Gtk.Objects.Printer

    A GtkPrinter object represents a printer. You only need to deal directly with printers if you use the non-portable PrintUnixDialog API. A GtkPrinter allows to get status information about the printer, such as its description, its location, the number of queued jobs, etc. Most importantly, a GtkPrinter object can be used to create a PrintJob object, which lets you print to the printer.

  8. newtype Printer

    gi-gtk4 GI.Gtk.Objects.Printer

    Memory-managed wrapper type.

  9. Printer :: ManagedPtr Printer -> Printer

    gi-gtk4 GI.Gtk.Objects.Printer

    No documentation available.

  10. type PrinterDetailsAcquiredCallback = Bool -> IO ()

    gi-gtk4 GI.Gtk.Objects.Printer

    Emitted in response to a request for detailed information about a printer from the print backend. The success parameter indicates if the information was actually obtained.

Page 145 of many | Previous | Next