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.
getPrintOperationUseFullPage :: (MonadIO m, IsPrintOperation o) => o -> m Boolgi-gtk4 GI.Gtk.Objects.PrintOperation Get the value of the “use-full-page” property. When overloading is enabled, this is equivalent to
get printOperation #useFullPage
-
gi-gtk4 GI.Gtk.Objects.PrintOperation Connect a signal handler for the drawPage signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on printOperation #drawPage callback
-
gi-gtk4 GI.Gtk.Objects.PrintOperation Connect a signal handler for the requestPageSetup signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on printOperation #requestPageSetup callback
printOperationDrawPageFinish :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()gi-gtk4 GI.Gtk.Objects.PrintOperation Signal that drawing of particular page is complete. It is called after completion of page drawing (e.g. drawing in another thread). If printOperationSetDeferDrawing was called before, then this function has to be called by application. Otherwise it is called by GTK itself.
-
gi-gtk4 GI.Gtk.Objects.PrintOperation Returns the default page setup.
printOperationGetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.PrintOperation Gets whether page setup selection combos are embedded
printOperationGetNPagesToPrint :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Int32gi-gtk4 GI.Gtk.Objects.PrintOperation Returns the number of pages that will be printed. Note that this value is set during print preparation phase (PrintStatusPreparing), so this function should never be called before the data generation phase (PrintStatusGeneratingData). You can connect to the PrintOperation::statusChanged signal and call printOperationGetNPagesToPrint when print status is PrintStatusGeneratingData. This is typically used to track the progress of print operation.
printOperationSetCurrentPage :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> Int32 -> m ()gi-gtk4 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.
-
gi-gtk4 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.
-
gi-gtk4 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 GtkPrintOperation.