Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. SorterOrderPartial :: SorterOrder

    gi-gtk4 GI.Gtk.Enums

    A partial order. Any GtkOrdering is possible.

  2. SorterOrderTotal :: SorterOrder

    gi-gtk4 GI.Gtk.Enums

    A total order. sorterCompare will only return OrderingEqual if an item is compared with itself. Two different items will never cause this value to be returned.

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

  4. newtype SortListModel

    gi-gtk4 GI.Gtk.Objects.SortListModel

    Memory-managed wrapper type.

  5. SortListModel :: ManagedPtr SortListModel -> SortListModel

    gi-gtk4 GI.Gtk.Objects.SortListModel

    No documentation available.

  6. module GI.Gtk.Objects.Sorter

    GtkSorter is an object to describe sorting criteria. Its primary user is SortListModel The model will use a sorter to determine the order in which its items should appear by calling sorterCompare for pairs of items. Sorters may change their sorting behavior through their lifetime. In that case, they will emit the Sorter::changed signal to notify that the sort order is no longer valid and should be updated by calling sorterCompare again. GTK provides various pre-made sorter implementations for common sorting operations. ColumnView has built-in support for sorting lists via the ColumnViewColumn:sorter property, where the user can change the sorting by clicking on list headers. Of course, in particular for large lists, it is also possible to subclass GtkSorter and provide one's own sorter.

  7. newtype Sorter

    gi-gtk4 GI.Gtk.Objects.Sorter

    Memory-managed wrapper type.

  8. Sorter :: ManagedPtr Sorter -> Sorter

    gi-gtk4 GI.Gtk.Objects.Sorter

    No documentation available.

  9. type SorterChangedCallback = SorterChange -> IO ()

    gi-gtk4 GI.Gtk.Objects.Sorter

    Emitted whenever the sorter changed. Users of the sorter should then update the sort order again via sorterCompare. SortListModel handles this signal automatically. Depending on the change parameter, it may be possible to update the sort order without a full resorting. Refer to the SorterChange documentation for details.

  10. SortAscending :: SortType

    gtk Graphics.UI.Gtk.General.Enums

    No documentation available.

Page 83 of many | Previous | Next