Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. printRunPageSetupDialog :: (HasCallStack, MonadIO m, IsWindow a, IsPageSetup b, IsPrintSettings c) => Maybe a -> Maybe b -> c -> m PageSetup

    gi-gtk4 GI.Gtk.Functions

    Runs a page setup dialog, letting the user modify the values from pageSetup. If the user cancels the dialog, the returned GtkPageSetup is identical to the passed in pageSetup, otherwise it contains the modifications done in the dialog. Note that this function may use a recursive mainloop to show the page setup dialog. See printRunPageSetupDialogAsync if this is a problem.

  2. printRunPageSetupDialogAsync :: (HasCallStack, MonadIO m, IsWindow a, IsPageSetup b, IsPrintSettings c) => Maybe a -> Maybe b -> c -> PageSetupDoneFunc -> m ()

    gi-gtk4 GI.Gtk.Functions

    Runs a page setup dialog, letting the user modify the values from pageSetup. In contrast to printRunPageSetupDialog, this function returns after showing the page setup dialog on platforms that support this, and calls doneCb from a signal handler for the response signal of the dialog.

  3. printOperationPreviewEndPreview :: (HasCallStack, MonadIO m, IsPrintOperationPreview a) => a -> m ()

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Ends a preview. This function must be called to finish a custom print preview.

  4. printOperationPreviewIsSelected :: (HasCallStack, MonadIO m, IsPrintOperationPreview a) => a -> Int32 -> m Bool

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Returns whether the given page is included in the set of pages that have been selected for printing.

  5. printOperationPreviewRenderPage :: (HasCallStack, MonadIO m, IsPrintOperationPreview a) => a -> Int32 -> m ()

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Renders a page to the preview. This is using the print context that was passed to the PrintOperation::preview handler together with preview. A custom print preview should use this function to render the currently selected page. Note that this function requires a suitable cairo context to be associated with the print context.

  6. printContextCreatePangoContext :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Context

    gi-gtk4 GI.Gtk.Objects.PrintContext

    Creates a new PangoContext that can be used with the GtkPrintContext.

  7. printContextCreatePangoLayout :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Layout

    gi-gtk4 GI.Gtk.Objects.PrintContext

    Creates a new PangoLayout that is suitable for use with the GtkPrintContext.

  8. printContextGetCairoContext :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Context

    gi-gtk4 GI.Gtk.Objects.PrintContext

    Obtains the cairo context that is associated with the GtkPrintContext.

  9. printContextGetDpiX :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Double

    gi-gtk4 GI.Gtk.Objects.PrintContext

    Obtains the horizontal resolution of the GtkPrintContext, in dots per inch.

  10. printContextGetDpiY :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Double

    gi-gtk4 GI.Gtk.Objects.PrintContext

    Obtains the vertical resolution of the GtkPrintContext, in dots per inch.

Page 39 of many | Previous | Next