Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gtk3 Graphics.UI.Gtk.ModelView.TreeSortable Sets the default comparison function used when sorting to be sortFunc. If the current sort column id of self is treeSortableDefaultSortColumnId then the model will sort using this function. | If sortFunc is Nothing, then there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of sortable is TreeSortableDefaultSortColumnId, the model will be unsorted.
treeSortableSetSortColumnId :: TreeSortableClass self => self -> SortColumnId -> SortType -> IO ()gtk3 Graphics.UI.Gtk.ModelView.TreeSortable Sets the current sort column to be sortColumnId. The sortable will resort itself to reflect this change, after emitting a sortColumnChanged signal. If sortColumnId is treeSortableDefaultSortColumnId, then the default sort function will be used, if it is set. Note that this function is mainly used by the view and that the user program should simply set the SortColumnId of the TreeViewColumns.
-
gtk3 Graphics.UI.Gtk.ModelView.TreeSortable Sets the comparison function used when sorting to be sortFunc. If the current sort column id of self is the same as sortColumnId, then the model will sort using this function.
treeSortableSortColumnChanged :: TreeSortableClass self => self -> IO ()gtk3 Graphics.UI.Gtk.ModelView.TreeSortable Emits a sortColumnChanged signal on the model.
treeViewColumnGetSortColumnId :: TreeViewColumn -> IO SortColumnIdgtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Get the column by which to sort.
- Retrieves the logical columnId that the model sorts on when this column is selected for sorting.
- Returns treeSortableDefaultSortColumnId if this tree view column has no SortColumnId associated with it.
treeViewColumnGetSortIndicator :: TreeViewColumn -> IO Boolgtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Query if a given column has sorting arrows in its heading.
treeViewColumnGetSortOrder :: TreeViewColumn -> IO SortTypegtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Query if a given column is sorted in ascending or descending order.
treeViewColumnSetSortColumnId :: TreeViewColumn -> SortColumnId -> IO ()gtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Set the column by which to sort.
- Sets the logical columnId that this column sorts on when this column is selected for sorting. The selected column's header will be clickable after this call. Logical refers to the SortColumnId for which a comparison function was set.
treeViewColumnSetSortIndicator :: TreeViewColumn -> Bool -> IO ()gtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Set if a given column has sorting arrows in its heading.
treeViewColumnSetSortOrder :: TreeViewColumn -> SortType -> IO ()gtk3 Graphics.UI.Gtk.ModelView.TreeViewColumn Set if a given column is sorted in ascending or descending order.
- In order for sorting to work, it is necessary to either use automatic sorting via treeViewColumnSetSortColumnId or to use a user defined sorting on the elements in a TreeModel.