Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. toColumnViewSorter :: (MonadIO m, IsColumnViewSorter o) => o -> m ColumnViewSorter

    gi-gtk4 GI.Gtk.Objects.ColumnViewSorter

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

  2. module GI.Gtk.Objects.CustomSorter

    GtkCustomSorter is a GtkSorter implementation that sorts via a callback function.

  3. newtype CustomSorter

    gi-gtk4 GI.Gtk.Objects.CustomSorter

    Memory-managed wrapper type.

  4. CustomSorter :: ManagedPtr CustomSorter -> CustomSorter

    gi-gtk4 GI.Gtk.Objects.CustomSorter

    No documentation available.

  5. class (GObject o, IsDescendantOf CustomSorter o) => IsCustomSorter o

    gi-gtk4 GI.Gtk.Objects.CustomSorter

    Type class for types which can be safely cast to CustomSorter, for instance with toCustomSorter.

  6. customSorterNew :: (HasCallStack, MonadIO m) => Maybe CompareDataFunc -> m CustomSorter

    gi-gtk4 GI.Gtk.Objects.CustomSorter

    Creates a new GtkSorter that works by calling sortFunc to compare items. If sortFunc is Nothing, all items are considered equal.

  7. customSorterSetSortFunc :: (HasCallStack, MonadIO m, IsCustomSorter a) => a -> Maybe CompareDataFunc -> m ()

    gi-gtk4 GI.Gtk.Objects.CustomSorter

    Sets (or unsets) the function used for sorting items. If sortFunc is Nothing, all items are considered equal. If the sort func changes its sorting behavior, sorterChanged needs to be called. If a previous function was set, its userDestroy will be called now.

  8. toCustomSorter :: (MonadIO m, IsCustomSorter o) => o -> m CustomSorter

    gi-gtk4 GI.Gtk.Objects.CustomSorter

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

  9. flowBoxInvalidateSort :: (HasCallStack, MonadIO m, IsFlowBox a) => a -> m ()

    gi-gtk4 GI.Gtk.Objects.FlowBox

    Updates the sorting for all children. Call this when the result of the sort function on box is changed due to an external factor.

  10. flowBoxSetSortFunc :: (HasCallStack, MonadIO m, IsFlowBox a) => a -> Maybe FlowBoxSortFunc -> m ()

    gi-gtk4 GI.Gtk.Objects.FlowBox

    By setting a sort function on the box, one can dynamically reorder the children of the box, based on the contents of the children. The sortFunc will be called for each child after the call, and will continue to be called each time a child changes (via flowBoxChildChanged) and when flowBoxInvalidateSort is called. Note that using a sort function is incompatible with using a model (see flowBoxBindModel).

Page 190 of many | Previous | Next