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.
SpinTypePageForward :: SpinTypegi-gtk3 GI.Gtk.Enums Increment by the adjustments page increment.
-
gi-gtk3 GI.Gtk.Functions Runs a page setup dialog, letting the user modify the values from pageSetup. If the user cancels the dialog, the returned PageSetup 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. Since: 2.10
-
gi-gtk3 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. Since: 2.10
type
PrintOperationPreviewGotPageSizeCallback = PrintContext -> PageSetup -> IO ()gi-gtk3 GI.Gtk.Interfaces.PrintOperationPreview The gotPageSize signal is 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.
-
gi-gtk3 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. -
gi-gtk3 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
-
gi-gtk3 GI.Gtk.Interfaces.PrintOperationPreview Renders a page to the preview, using the print context that was passed to the PrintOperation::preview handler together with preview. A custom iprint preview should use this function in its expose handler to render the currently selected page. Note that this function requires a suitable cairo context to be associated with the print context. Since: 2.10
adjustmentClampPage :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> Double -> m ()gi-gtk3 GI.Gtk.Objects.Adjustment Updates the Adjustment:value property to ensure that the range between lower and upper is in the current page (i.e. between Adjustment:value and Adjustment:value + Adjustment:pageSize). 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.
adjustmentGetPageIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m Doublegi-gtk3 GI.Gtk.Objects.Adjustment Retrieves the page increment of the adjustment. Since: 2.14
adjustmentGetPageSize :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m Doublegi-gtk3 GI.Gtk.Objects.Adjustment Retrieves the page size of the adjustment. Since: 2.14