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. toTreeModelSort :: (MonadIO m, IsTreeModelSort o) => o -> m TreeModelSort

    gi-gtk3 GI.Gtk.Objects.TreeModelSort

    Cast to TreeModelSort, for types for which this is known to be safe. For general casts, use castTo.

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

  3. treeModelSortConvertChildIterToIter :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreeIter -> m (Bool, TreeIter)

    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.

  4. treeModelSortConvertChildPathToPath :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreePath -> m (Maybe TreePath)

    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.

  5. treeModelSortConvertIterToChildIter :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreeIter -> m TreeIter

    gi-gtk3 GI.Gtk.Objects.TreeModelSort

    Sets childIter to point to the row pointed to by sortedIter.

  6. treeModelSortConvertPathToChildPath :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreePath -> m (Maybe TreePath)

    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.

  7. treeModelSortGetModel :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> m TreeModel

    gi-gtk3 GI.Gtk.Objects.TreeModelSort

    Returns the model the TreeModelSort is sorting.

  8. treeModelSortIterIsValid :: (HasCallStack, MonadIO m, IsTreeModelSort a) => a -> TreeIter -> m Bool

    gi-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.2

  9. treeModelSortNewWithModel :: (HasCallStack, MonadIO m, IsTreeModel a) => a -> m TreeModelSort

    gi-gtk3 GI.Gtk.Objects.TreeModelSort

    Creates a new TreeModelSort, with childModel as the child model.

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

Page 150 of many | Previous | Next