Hoogle Search
Within LTS Haskell 24.70 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printOperationSetUnit :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Unit -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Sets up the transformation for the cairo context obtained from PrintContext in such a way that distances are measured in units of unit. Since: 2.10
printOperationSetUseFullPage :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Bool -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation If fullPage is True, the transformation for the cairo context obtained from PrintContext puts the origin at the top left corner of the page (which may not be the top left corner of the sheet, depending on page orientation and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins). Since: 2.10
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.
class (GObject o, IsDescendantOf PrintSettings o) =>
IsPrintSettings ogi-gtk3 GI.Gtk.Objects.PrintSettings Type class for types which can be safely cast to PrintSettings, for instance with toPrintSettings.
-
gi-gtk3 GI.Gtk.Objects.PrintSettings Memory-managed wrapper type.
PrintSettings :: ManagedPtr PrintSettings -> PrintSettingsgi-gtk3 GI.Gtk.Objects.PrintSettings No documentation available.
printSettingsCopy :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> m PrintSettingsgi-gtk3 GI.Gtk.Objects.PrintSettings Copies a PrintSettings object. Since: 2.10
-
gi-gtk3 GI.Gtk.Objects.PrintSettings Calls func for each key-value pair of settings. Since: 2.10
printSettingsGet :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> m Textgi-gtk3 GI.Gtk.Objects.PrintSettings Looks up the string value associated with key. Since: 2.10
printSettingsGetBool :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> m Boolgi-gtk3 GI.Gtk.Objects.PrintSettings Returns the boolean represented by the value that is associated with key. The string “true” represents True, any other string False. Since: 2.10