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.
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.
class (GObject o, IsDescendantOf PrintSettings o) =>
IsPrintSettings ogi-gtk4 GI.Gtk.Objects.PrintSettings Type class for types which can be safely cast to PrintSettings, for instance with toPrintSettings.
-
gi-gtk4 GI.Gtk.Objects.PrintSettings Memory-managed wrapper type.
PrintSettings :: ManagedPtr PrintSettings -> PrintSettingsgi-gtk4 GI.Gtk.Objects.PrintSettings No documentation available.
printSettingsCopy :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> m PrintSettingsgi-gtk4 GI.Gtk.Objects.PrintSettings Copies a GtkPrintSettings object.
-
gi-gtk4 GI.Gtk.Objects.PrintSettings Calls func for each key-value pair of settings.
printSettingsGet :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> m (Maybe Text)gi-gtk4 GI.Gtk.Objects.PrintSettings Looks up the string value associated with key.
printSettingsGetBool :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> m Boolgi-gtk4 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.
printSettingsGetCollate :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.PrintSettings Gets the value of PRINT_SETTINGS_COLLATE.
printSettingsGetDefaultSource :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> m (Maybe Text)gi-gtk4 GI.Gtk.Objects.PrintSettings Gets the value of PRINT_SETTINGS_DEFAULT_SOURCE.