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.
treeSortableSortColumnChanged :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> m ()gi-gtk4 GI.Gtk.Interfaces.TreeSortable Deprecated: (Since version 4.10)
columnViewGetSorter :: (HasCallStack, MonadIO m, IsColumnView a) => a -> m (Maybe Sorter)gi-gtk4 GI.Gtk.Objects.ColumnView Returns a special sorter that reflects the users sorting choices in the column view. To allow users to customizable sorting by clicking on column headers, this sorter needs to be set on the sort model underneath the model that is displayed by the view. See columnViewColumnSetSorter for setting up per-column sorting. Here is an example:
c code
gtk_column_view_column_set_sorter (column, sorter); gtk_column_view_append_column (view, column); sorter = g_object_ref (gtk_column_view_get_sorter (view))); model = gtk_sort_list_model_new (store, sorter); selection = gtk_no_selection_new (model); gtk_column_view_set_model (view, selection);
-
gi-gtk4 GI.Gtk.Objects.ColumnView Sets the sorting of the view. This function should be used to set up the initial sorting. At runtime, users can change the sorting of a column view by clicking on the list headers. This call only has an effect if the sorter returned by columnViewGetSorter is set on a sort model, and columnViewColumnSetSorter has been called on column to associate a sorter with the column. If column is Nothing, the view will be unsorted.
getColumnViewSorter :: (MonadIO m, IsColumnView o) => o -> m (Maybe Sorter)gi-gtk4 GI.Gtk.Objects.ColumnView Get the value of the “sorter” property. When overloading is enabled, this is equivalent to
get columnView #sorter
clearColumnViewColumnSorter :: (MonadIO m, IsColumnViewColumn o) => o -> m ()gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Set the value of the “sorter” property to Nothing. When overloading is enabled, this is equivalent to
clear #sorter
-
gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Returns the sorter that is associated with the column.
-
gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Associates a sorter with the column. If sorter is Nothing, the column will not let users change the sorting by clicking on its header. This sorter can be made active by clicking on the column header, or by calling columnViewSortByColumn. See columnViewGetSorter for the necessary steps for setting up customizable sorting for ColumnView.
-
gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Construct a GValueConstruct with valid value for the “sorter” property. This is rarely needed directly, but it is used by new.
getColumnViewColumnSorter :: (MonadIO m, IsColumnViewColumn o) => o -> m (Maybe Sorter)gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Get the value of the “sorter” property. When overloading is enabled, this is equivalent to
get columnViewColumn #sorter
setColumnViewColumnSorter :: (MonadIO m, IsColumnViewColumn o, IsSorter a) => o -> a -> m ()gi-gtk4 GI.Gtk.Objects.ColumnViewColumn Set the value of the “sorter” property. When overloading is enabled, this is equivalent to
set columnViewColumn [ #sorter := value ]