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. sliceListModelNew :: (HasCallStack, MonadIO m, IsListModel a) => Maybe a -> Word32 -> Word32 -> m SliceListModel

    gi-gtk4 GI.Gtk.Objects.SliceListModel

    Creates a new slice model. It presents the slice from offset to offset + size of the given model.

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

    gi-gtk4 GI.Gtk.Objects.SliceListModel

    Sets the model to show a slice of. The model's item type must conform to self's item type.

  3. sliceListModelSetOffset :: (HasCallStack, MonadIO m, IsSliceListModel a) => a -> Word32 -> m ()

    gi-gtk4 GI.Gtk.Objects.SliceListModel

    Sets the offset into the original model for this slice. If the offset is too large for the sliced model, self will end up empty.

  4. sliceListModelSetSize :: (HasCallStack, MonadIO m, IsSliceListModel a) => a -> Word32 -> m ()

    gi-gtk4 GI.Gtk.Objects.SliceListModel

    Sets the maximum size. self will never have more items than size. It can however have fewer items if the offset is too large or the model sliced from doesn't have enough items.

  5. toSliceListModel :: (MonadIO m, IsSliceListModel o) => o -> m SliceListModel

    gi-gtk4 GI.Gtk.Objects.SliceListModel

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

  6. module GI.Gtk.Objects.SortListModel

    A GListModel that sorts the elements of an underlying model according to a GtkSorter. The model is a stable sort. If two items compare equal according to the sorter, the one that appears first in the original model will also appear first after sorting. Note that if you change the sorter, the previous order will have no influence on the new order. If you want that, consider using a GtkMultiSorter and appending the previous sorter to it. The model can be set up to do incremental sorting, so that sorting long lists doesn't block the UI. See sortListModelSetIncremental for details. GtkSortListModel is a generic model and because of that it cannot take advantage of any external knowledge when sorting. If you run into performance issues with GtkSortListModel, it is strongly recommended that you write your own sorting list model. GtkSortListModel allows sorting the items into sections. It implements GtkSectionModel and when SortListModel:sectionSorter is set, it will sort all items with that sorter and items comparing equal with it will be put into the same section. The SortListModel:sorter will then be used to sort items inside their sections.

  7. class (GObject o, IsDescendantOf SortListModel o) => IsSortListModel o

    gi-gtk4 GI.Gtk.Objects.SortListModel

    Type class for types which can be safely cast to SortListModel, for instance with toSortListModel.

  8. newtype SortListModel

    gi-gtk4 GI.Gtk.Objects.SortListModel

    Memory-managed wrapper type.

  9. SortListModel :: ManagedPtr SortListModel -> SortListModel

    gi-gtk4 GI.Gtk.Objects.SortListModel

    No documentation available.

  10. clearSortListModelModel :: (MonadIO m, IsSortListModel o) => o -> m ()

    gi-gtk4 GI.Gtk.Objects.SortListModel

    Set the value of the “model” property to Nothing. When overloading is enabled, this is equivalent to

    clear #model
    

Page 138 of many | Previous | Next