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.
-
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.
-
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.
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.
-
gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview Returns whether the given page is included in the set of pages that have been selected for printing.
-
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.
printContextCreatePangoContext :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Contextgi-gtk4 GI.Gtk.Objects.PrintContext Creates a new PangoContext that can be used with the GtkPrintContext.
printContextCreatePangoLayout :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Layoutgi-gtk4 GI.Gtk.Objects.PrintContext Creates a new PangoLayout that is suitable for use with the GtkPrintContext.
printContextGetCairoContext :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Contextgi-gtk4 GI.Gtk.Objects.PrintContext Obtains the cairo context that is associated with the GtkPrintContext.
printContextGetDpiX :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Doublegi-gtk4 GI.Gtk.Objects.PrintContext Obtains the horizontal resolution of the GtkPrintContext, in dots per inch.
printContextGetDpiY :: (HasCallStack, MonadIO m, IsPrintContext a) => a -> m Doublegi-gtk4 GI.Gtk.Objects.PrintContext Obtains the vertical resolution of the GtkPrintContext, in dots per inch.