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.
stringSorterNew :: (HasCallStack, MonadIO m, IsExpression a) => Maybe a -> m StringSortergi-gtk4 GI.Gtk.Objects.StringSorter Creates a new string sorter that compares items using the given expression. Unless an expression is set on it, this sorter will always compare items as invalid.
stringSorterSetCollation :: (HasCallStack, MonadIO m, IsStringSorter a) => a -> Collation -> m ()gi-gtk4 GI.Gtk.Objects.StringSorter Sets the collation method to use for sorting. Since: 4.10
-
gi-gtk4 GI.Gtk.Objects.StringSorter Sets the expression that is evaluated to obtain strings from items. The expression must have the type G_TYPE_STRING.
stringSorterSetIgnoreCase :: (HasCallStack, MonadIO m, IsStringSorter a) => a -> Bool -> m ()gi-gtk4 GI.Gtk.Objects.StringSorter Sets whether the sorter will ignore case differences.
toStringSorter :: (MonadIO m, IsStringSorter o) => o -> m StringSortergi-gtk4 GI.Gtk.Objects.StringSorter Cast to StringSorter, for types for which this is known to be safe. For general casts, use castTo.
module GI.Gtk.Objects.
TreeListRowSorter GtkTreeListRowSorter is a special-purpose sorter that will apply a given sorter to the levels in a tree. Here is an example for setting up a column view with a tree model and a GtkTreeListSorter:
c code
column_sorter = gtk_column_view_get_sorter (view); sorter = gtk_tree_list_row_sorter_new (g_object_ref (column_sorter)); sort_model = gtk_sort_list_model_new (tree_model, sorter); selection = gtk_single_selection_new (sort_model); gtk_column_view_set_model (view, G_LIST_MODEL (selection));
class (GObject o, IsDescendantOf TreeListRowSorter o) =>
IsTreeListRowSorter ogi-gtk4 GI.Gtk.Objects.TreeListRowSorter Type class for types which can be safely cast to TreeListRowSorter, for instance with toTreeListRowSorter.
-
gi-gtk4 GI.Gtk.Objects.TreeListRowSorter Memory-managed wrapper type.
TreeListRowSorter :: ManagedPtr TreeListRowSorter -> TreeListRowSortergi-gtk4 GI.Gtk.Objects.TreeListRowSorter No documentation available.
clearTreeListRowSorterSorter :: (MonadIO m, IsTreeListRowSorter o) => o -> m ()gi-gtk4 GI.Gtk.Objects.TreeListRowSorter Set the value of the “sorter” property to Nothing. When overloading is enabled, this is equivalent to
clear #sorter