Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getPrintOperationNPagesToPrint :: (MonadIO m, IsPrintOperation o) => o -> m Int32

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Get the value of the “n-pages-to-print” property. When overloading is enabled, this is equivalent to

    get printOperation #nPagesToPrint
    

  2. getPrintOperationUseFullPage :: (MonadIO m, IsPrintOperation o) => o -> m Bool

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Get the value of the “use-full-page” property. When overloading is enabled, this is equivalent to

    get printOperation #useFullPage
    

  3. onPrintOperationDrawPage :: (IsPrintOperation a, MonadIO m) => a -> ((?self :: a) => PrintOperationDrawPageCallback) -> m SignalHandlerId

    gi-gtk3 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
    

  4. onPrintOperationRequestPageSetup :: (IsPrintOperation a, MonadIO m) => a -> ((?self :: a) => PrintOperationRequestPageSetupCallback) -> m SignalHandlerId

    gi-gtk3 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
    

  5. printOperationDrawPageFinish :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m ()

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Signalize 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. In another case it is called by the library itself. Since: 2.16

  6. printOperationGetDefaultPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m PageSetup

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Returns the default page setup, see printOperationSetDefaultPageSetup. Since: 2.10

  7. printOperationGetEmbedPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Bool

    gi-gtk3 GI.Gtk.Objects.PrintOperation

    Gets the value of PrintOperation:embedPageSetup property. Since: 2.18

  8. printOperationGetNPagesToPrint :: (HasCallStack, MonadIO m, IsPrintOperation a) => a -> m Int32

    gi-gtk3 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. Since: 2.18

  9. 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

  10. printOperationSetDefaultPageSetup :: (HasCallStack, MonadIO m, IsPrintOperation a, IsPageSetup b) => a -> Maybe b -> m ()

    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

Page 308 of many | Previous | Next