Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
adjustmentSetLower :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk4 GI.Gtk.Objects.Adjustment Sets the minimum value of the adjustment. When setting multiple adjustment properties via their individual setters, multiple Adjustment::changed signals will be emitted. However, since the emission of the Adjustment::changed signal is tied to the emission of the notify signals of the changed properties, it’s possible to compress the Adjustment::changed signals into one by calling objectFreezeNotify and objectThawNotify around the calls to the individual setters. Alternatively, using a single g_object_set() for all the properties to change, or using adjustmentConfigure has the same effect.
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.
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.
adjustmentSetStepIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk4 GI.Gtk.Objects.Adjustment Sets the step increment of the adjustment. See adjustmentSetLower about how to compress multiple emissions of the Adjustment::changed signal when setting multiple adjustment properties.
adjustmentSetUpper :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk4 GI.Gtk.Objects.Adjustment Sets the maximum value of the adjustment. Note that values will be restricted by upper - page-size if the page-size property is nonzero. See adjustmentSetLower about how to compress multiple emissions of the Adjustment::changed signal when setting multiple adjustment properties.
adjustmentSetValue :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk4 GI.Gtk.Objects.Adjustment Sets the GtkAdjustment value. The value is clamped to lie between Adjustment:lower and Adjustment:upper. Note that for adjustments which are used in a GtkScrollbar, the effective range of allowed values goes from Adjustment:lower to Adjustment:upper - Adjustment:pageSize.
-
gi-gtk4 GI.Gtk.Objects.Adjustment Connect a signal handler for the changed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after adjustment #changed 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-gtk4 GI.Gtk.Objects.Adjustment Connect a signal handler for the valueChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after adjustment #valueChanged 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. constructAdjustmentLower :: (IsAdjustment o, MonadIO m) => Double -> m (GValueConstruct o)gi-gtk4 GI.Gtk.Objects.Adjustment Construct a GValueConstruct with valid value for the “lower” property. This is rarely needed directly, but it is used by new.
constructAdjustmentPageIncrement :: (IsAdjustment o, MonadIO m) => Double -> m (GValueConstruct o)gi-gtk4 GI.Gtk.Objects.Adjustment Construct a GValueConstruct with valid value for the “page-increment” property. This is rarely needed directly, but it is used by new.