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.

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

  2. type PrintOperationPreviewGotPageSizeCallback = PrintContext -> PageSetup -> IO ()

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Emitted once for each page that gets rendered to the preview. A handler for this signal should update the context according to pageSetup and set up a suitable cairo context, using printContextSetCairoContext.

  3. afterPrintOperationPreviewGotPageSize :: (IsPrintOperationPreview a, MonadIO m) => a -> ((?self :: a) => PrintOperationPreviewGotPageSizeCallback) -> m SignalHandlerId

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Connect a signal handler for the gotPageSize signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after printOperationPreview #gotPageSize callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  4. onPrintOperationPreviewGotPageSize :: (IsPrintOperationPreview a, MonadIO m) => a -> ((?self :: a) => PrintOperationPreviewGotPageSizeCallback) -> m SignalHandlerId

    gi-gtk4 GI.Gtk.Interfaces.PrintOperationPreview

    Connect a signal handler for the gotPageSize signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on printOperationPreview #gotPageSize callback
    

  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. adjustmentClampPage :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> Double -> m ()

    gi-gtk4 GI.Gtk.Objects.Adjustment

    Updates the value property to ensure that the range between lower and upper is in the current page. The current page goes from value to value + page-size. If the range is larger than the page size, then only the start of it will be in the current page. A Adjustment::valueChanged signal will be emitted if the value is changed.

  7. adjustmentGetPageIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m Double

    gi-gtk4 GI.Gtk.Objects.Adjustment

    Retrieves the page increment of the adjustment.

  8. adjustmentGetPageSize :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m Double

    gi-gtk4 GI.Gtk.Objects.Adjustment

    Retrieves the page size of the adjustment.

  9. adjustmentSetPageIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()

    gi-gtk4 GI.Gtk.Objects.Adjustment

    Sets the page increment of the adjustment. See adjustmentSetLower about how to compress multiple emissions of the Adjustment::changed signal when setting multiple adjustment properties.

  10. adjustmentSetPageSize :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()

    gi-gtk4 GI.Gtk.Objects.Adjustment

    Sets the page size of the adjustment. See adjustmentSetLower about how to compress multiple emissions of the Adjustment::changed signal when setting multiple adjustment properties.

Page 317 of many | Previous | Next