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.
-
gi-gtk4 GI.Gtk.Objects.MapListModel Sets the function used to map items. The function will be called whenever an item needs to be mapped and must return the item to use for the given input item. Note that GtkMapListModel may call this function multiple times on the same item, because it may delete items it doesn't need anymore. GTK makes no effort to ensure that mapFunc conforms to the item type of self. It assumes that the caller knows what they are doing and the map function returns items of the appropriate type.
-
gi-gtk4 GI.Gtk.Objects.MapListModel Sets the model to be mapped. GTK makes no effort to ensure that model conforms to the item type expected by the map function. It assumes that the caller knows what they are doing and have set up an appropriate map function.
toMapListModel :: (MonadIO m, IsMapListModel o) => o -> m MapListModelgi-gtk4 GI.Gtk.Objects.MapListModel Cast to MapListModel, for types for which this is known to be safe. For general casts, use castTo.
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
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 ]
-
gi-gtk4 GI.Gtk.Objects.ScaleButton Construct a GValueConstruct with valid value for the “adjustment” property. This is rarely needed directly, but it is used by new.
getScaleButtonAdjustment :: (MonadIO m, IsScaleButton o) => o -> m Adjustmentgi-gtk4 GI.Gtk.Objects.ScaleButton Get the value of the “adjustment” property. When overloading is enabled, this is equivalent to
get scaleButton #adjustment