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.
listBoxGetAdjustment :: (HasCallStack, MonadIO m, IsListBox a) => a -> m (Maybe Adjustment)gi-gtk4 GI.Gtk.Objects.ListBox Gets the adjustment (if any) that the widget uses to for vertical scrolling.
-
gi-gtk4 GI.Gtk.Objects.ListBox Sets the adjustment (if any) that the widget uses to for vertical scrolling. For instance, this is used to get the page size for PageUp/Down key handling. In the normal case when the box is packed inside a GtkScrolledWindow the adjustment from that will be picked up automatically, so there is no need to manually do that.
type
RangeAdjustBoundsCallback = Double -> IO ()gi-gtk4 GI.Gtk.Objects.Range Emitted before clamping a value, to give the application a chance to adjust the bounds.
-
gi-gtk4 GI.Gtk.Objects.Range Connect a signal handler for the adjustBounds signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after range #adjustBounds 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. constructRangeAdjustment :: (IsRange o, MonadIO m, IsAdjustment a) => a -> m (GValueConstruct o)gi-gtk4 GI.Gtk.Objects.Range Construct a GValueConstruct with valid value for the “adjustment” property. This is rarely needed directly, but it is used by new.
getRangeAdjustment :: (MonadIO m, IsRange o) => o -> m Adjustmentgi-gtk4 GI.Gtk.Objects.Range Get the value of the “adjustment” property. When overloading is enabled, this is equivalent to
get range #adjustment
-
gi-gtk4 GI.Gtk.Objects.Range Connect a signal handler for the adjustBounds signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on range #adjustBounds callback
rangeGetAdjustment :: (HasCallStack, MonadIO m, IsRange a) => a -> m Adjustmentgi-gtk4 GI.Gtk.Objects.Range Get the adjustment which is the “model” object for GtkRange.
rangeSetAdjustment :: (HasCallStack, MonadIO m, IsRange a, IsAdjustment b) => a -> b -> m ()gi-gtk4 GI.Gtk.Objects.Range Sets the adjustment to be used as the “model” object for the GtkRange The adjustment indicates the current range value, the minimum and maximum range values, the step/page increments used for keybindings and scrolling, and the page size. The page size is normally 0 for GtkScale and nonzero for GtkScrollbar, and indicates the size of the visible area of the widget being scrolled. The page size affects the size of the scrollbar slider.
setRangeAdjustment :: (MonadIO m, IsRange o, IsAdjustment a) => o -> a -> m ()gi-gtk4 GI.Gtk.Objects.Range Set the value of the “adjustment” property. When overloading is enabled, this is equivalent to
set range [ #adjustment := value ]