Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk4 GI.Gtk.Objects.PrintSettings Memory-managed wrapper type.
PrintSettings :: ManagedPtr PrintSettings -> PrintSettingsgi-gtk4 GI.Gtk.Objects.PrintSettings No documentation available.
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:
- ResponseTypeOk: for the “Print” button
- ResponseTypeApply: for the “Preview” button
- ResponseTypeCancel: for the “Cancel” button
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.-
gi-gtk4 GI.Gtk.Objects.PrintUnixDialog Memory-managed wrapper type.
PrintUnixDialog :: ManagedPtr PrintUnixDialog -> PrintUnixDialoggi-gtk4 GI.Gtk.Objects.PrintUnixDialog No documentation available.
-
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.
-
gi-gtk4 GI.Gtk.Objects.Printer Memory-managed wrapper type.
Printer :: ManagedPtr Printer -> Printergi-gtk4 GI.Gtk.Objects.Printer No documentation available.
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.
module GI.Gtk.Structs.
PrintBackend No description available in the introspection data.