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.

  1. mapListModelSetMapFunc :: (HasCallStack, MonadIO m, IsMapListModel a) => a -> Maybe MapListModelMapFunc -> m ()

    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.

  2. mapListModelSetModel :: (HasCallStack, MonadIO m, IsMapListModel a, IsListModel b) => a -> Maybe b -> m ()

    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.

  3. toMapListModel :: (MonadIO m, IsMapListModel o) => o -> m MapListModel

    gi-gtk4 GI.Gtk.Objects.MapListModel

    Cast to MapListModel, for types for which this is known to be safe. For general casts, use castTo.

  4. 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.

  5. getRangeAdjustment :: (MonadIO m, IsRange o) => o -> m Adjustment

    gi-gtk4 GI.Gtk.Objects.Range

    Get the value of the “adjustment” property. When overloading is enabled, this is equivalent to

    get range #adjustment
    

  6. rangeGetAdjustment :: (HasCallStack, MonadIO m, IsRange a) => a -> m Adjustment

    gi-gtk4 GI.Gtk.Objects.Range

    Get the adjustment which is the “model” object for GtkRange.

  7. 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.

  8. 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 ]
    

  9. constructScaleButtonAdjustment :: (IsScaleButton o, MonadIO m, IsAdjustment a) => a -> m (GValueConstruct o)

    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.

  10. getScaleButtonAdjustment :: (MonadIO m, IsScaleButton o) => o -> m Adjustment

    gi-gtk4 GI.Gtk.Objects.ScaleButton

    Get the value of the “adjustment” property. When overloading is enabled, this is equivalent to

    get scaleButton #adjustment
    

Page 133 of many | Previous | Next