Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
adjustmentGetValue :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m Doublegi-gtk3 GI.Gtk.Objects.Adjustment Gets the current value of the adjustment. See adjustmentSetValue.
-
gi-gtk3 GI.Gtk.Objects.Adjustment Creates a new Adjustment.
adjustmentSetLower :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 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 Object::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 of compressing Adjustment::changed emissions. Since: 2.14
adjustmentSetPageIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 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. Since: 2.14
adjustmentSetPageSize :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 GI.Gtk.Objects.Adjustment Sets the page size of the adjustment. See adjustmentSetLower about how to compress multiple emissions of the GtkAdjustmentchanged signal when setting multiple adjustment properties. Since: 2.14
adjustmentSetStepIncrement :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 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. Since: 2.14
adjustmentSetUpper :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 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. Since: 2.14
adjustmentSetValue :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> Double -> m ()gi-gtk3 GI.Gtk.Objects.Adjustment Sets the Adjustment value. The value is clamped to lie between Adjustment:lower and Adjustment:upper. Note that for adjustments which are used in a Scrollbar, the effective range of allowed values goes from Adjustment:lower to Adjustment:upper - Adjustment:pageSize.
adjustmentValueChanged :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m ()gi-gtk3 GI.Gtk.Objects.Adjustment Deprecated: (Since version 3.18)GTK+ emits Adjustment::valueChanged itself wheneverthe value changes
-
gi-gtk3 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.