Gtk2hsGenerics-0.1: Convenience functions to extend Gtk2hs.

Graphics.UI.Gtk.Generics.TreeStore

Synopsis

Documentation

treeStoreGetActivatedElementsSource

Arguments

:: TreeStore a

The TreeStore the user has selected from.

-> TreePath

The path to the node selected by the user.

-> IO [a]

The elements at each branch on the path to the selected node.

findPathSource

Arguments

:: Eq a 
=> Forest a

Forest of data.

-> [a]

List containing elements to make a path.

-> TreePath

Resulting path to elements of [a]

Function to find the path to a list of a contained in a Forest, i.e. each element corresponds to the branch in the Forest (TreeStore) that matches the the corresponding element in the supplied list.