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.
printContextGetPageSetup :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m PageSetupgi-gtk3 GI.Gtk.Objects.PrintContext Obtains the PageSetup that determines the page dimensions of the PrintContext. Since: 2.10
-
gi-gtk3 GI.Gtk.Objects.PrintContext Sets a new cairo context on a print context. This function is intended to be used when implementing an internal print preview, it is not needed for printing, since GTK+ itself creates a suitable cairo context in that case. Since: 2.10
type
PrintOperationRequestPageSetupCallback = PrintContext -> Int32 -> PageSetup -> IO ()gi-gtk3 GI.Gtk.Objects.PrintOperation Emitted once for every page that is printed, to give the application a chance to modify the page setup. Any changes done to setup will be in force only for printing this page. Since: 2.10
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Connect a signal handler for the requestPageSetup signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after printOperation #requestPageSetup callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. clearPrintOperationDefaultPageSetup :: (MonadIO m, IsPrintOperation o) => o -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “default-page-setup” property to Nothing. When overloading is enabled, this is equivalent to
clear #defaultPageSetup
clearPrintOperationPrintSettings :: (MonadIO m, IsPrintOperation o) => o -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “print-settings” property to Nothing. When overloading is enabled, this is equivalent to
clear #printSettings
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Construct a GValueConstruct with valid value for the “default-page-setup” property. This is rarely needed directly, but it is used by new.
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Construct a GValueConstruct with valid value for the “embed-page-setup” property. This is rarely needed directly, but it is used by new.
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Construct a GValueConstruct with valid value for the “print-settings” property. This is rarely needed directly, but it is used by new.
getPrintOperationDefaultPageSetup :: (MonadIO m, IsPrintOperation o) => o -> m PageSetupgi-gtk3 GI.Gtk.Objects.PrintOperation Get the value of the “default-page-setup” property. When overloading is enabled, this is equivalent to
get printOperation #defaultPageSetup