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.
toTreeModelSort :: (MonadIO m, IsTreeModelSort o) => o -> m TreeModelSortgi-gtk3 GI.Gtk.Objects.TreeModelSort Cast to TreeModelSort, for types for which this is known to be safe. For general casts, use castTo.
treeModelSortClearCache :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> m ()gi-gtk3 GI.Gtk.Objects.TreeModelSort This function should almost never be called. It clears the treeModelSort of any cached iterators that haven’t been reffed with treeModelRefNode. This might be useful if the child model being sorted is static (and doesn’t change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.
-
gi-gtk3 GI.Gtk.Objects.TreeModelSort Sets sortIter to point to the row in treeModelSort that corresponds to the row pointed at by childIter. If sortIter was not set, False is returned. Note: a boolean is only returned since 2.14.
-
gi-gtk3 GI.Gtk.Objects.TreeModelSort Converts childPath to a path relative to treeModelSort. That is, childPath points to a path in the child model. The returned path will point to the same row in the sorted model. If childPath isn’t a valid path on the child model, then Nothing is returned.
-
gi-gtk3 GI.Gtk.Objects.TreeModelSort Sets childIter to point to the row pointed to by sortedIter.
-
gi-gtk3 GI.Gtk.Objects.TreeModelSort Converts sortedPath to a path on the child model of treeModelSort. That is, sortedPath points to a location in treeModelSort. The returned path will point to the same location in the model not being sorted. If sortedPath does not point to a location in the child model, Nothing is returned.
treeModelSortGetModel :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> m TreeModelgi-gtk3 GI.Gtk.Objects.TreeModelSort Returns the model the TreeModelSort is sorting.
treeModelSortIterIsValid :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreeIter -> m Boolgi-gtk3 GI.Gtk.Objects.TreeModelSort This function is slow. Only use it for debugging and\/or testing purposes.
Checks if the given iter is a valid iter for this TreeModelSort. Since: 2.2treeModelSortNewWithModel :: (HasCallStack, MonadIO m, IsTreeModel a) => a -> m TreeModelSortgi-gtk3 GI.Gtk.Objects.TreeModelSort Creates a new TreeModelSort, with childModel as the child model.
treeModelSortResetDefaultSortFunc :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> m ()gi-gtk3 GI.Gtk.Objects.TreeModelSort This resets the default sort function to be in the “unsorted” state. That is, it is in the same order as the child model. It will re-sort the model to be in the same order as the child model only if the TreeModelSort is in “unsorted” state.