Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
printOperationSetCurrentPage :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Sets the current page. If this is called before printOperationRun, the user will be able to select to print only the current page. Note that this only makes sense for pre-paginated documents. Since: 2.10
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Makes defaultPageSetup the default page setup for op. This page setup will be used by printOperationRun, but it can be overridden on a per-page basis by connecting to the PrintOperation::requestPageSetup signal. Since: 2.10
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Embed page size combo box and orientation combo box into page setup page. Selected page setup is stored as default page setup in PrintOperation. Since: 2.18
printOperationSetNPages :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Sets the number of pages in the document. This must be set to a positive number before the rendering starts. It may be set in a PrintOperation::beginPrint signal hander. Note that the page numbers passed to the PrintOperation::requestPageSetup and PrintOperation::drawPage signals are 0-based, i.e. if the user chooses to print all pages, the last drawPage signal will be for page nPages - 1. 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
setPrintOperationCurrentPage :: (MonadIO m, IsPrintOperation o) => o -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “current-page” property. When overloading is enabled, this is equivalent to
set printOperation [ #currentPage := value ]
-
gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “default-page-setup” property. When overloading is enabled, this is equivalent to
set printOperation [ #defaultPageSetup := value ]
setPrintOperationEmbedPageSetup :: (MonadIO m, IsPrintOperation o) => o -> Bool -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “embed-page-setup” property. When overloading is enabled, this is equivalent to
set printOperation [ #embedPageSetup := value ]
setPrintOperationNPages :: (MonadIO m, IsPrintOperation o) => o -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “n-pages” property. When overloading is enabled, this is equivalent to
set printOperation [ #nPages := value ]
setPrintOperationUseFullPage :: (MonadIO m, IsPrintOperation o) => o -> Bool -> m ()gi-gtk3 GI.Gtk.Objects.PrintOperation Set the value of the “use-full-page” property. When overloading is enabled, this is equivalent to
set printOperation [ #useFullPage := value ]