newtype
TreeIter |
newtype
TreePath |
treePathNew:: IO TreePath |
treePathNewFromString:: String -> IO TreePath |
treeModelGetColumnType:: TreeModelClass tm => tm -> Int -> IO TMType |
treeModelGetIter:: TreeModelClass tm => tm -> TreePath -> IO (Maybe TreeIter) |
treeModelGetIterFirst:: TreeModelClass tm => tm -> IO (Maybe TreeIter) |
treeModelGetIterFromString:: TreeModelClass tm => tm -> String -> IO (Maybe TreeIter) |
treeModelGetNColumns:: TreeModelClass tm => tm -> IO Int |
treeModelGetValue:: TreeModelClass tm => tm -> TreeIter -> Int -> IO GenericValue |
treeModelIterChildren:: TreeModelClass tm => tm -> TreeIter -> IO (Maybe TreeIter) |
treeModelIterNChildren:: TreeModelClass tm => tm -> Maybe TreeIter -> IO Int |
treeModelIterNext:: TreeModelClass tm => tm -> TreeIter -> IO Bool |
treeModelIterNthChild:: TreeModelClass tm => tm -> Maybe TreeIter -> Int -> IO (Maybe TreeIter) |
treeModelIterParent:: TreeModelClass tm => tm -> TreeIter -> IO (Maybe TreeIter) |
treeModelRefNode:: TreeModelClass tm => tm -> TreeIter -> IO () |
treeModelUnrefNode:: TreeModelClass tm => tm -> TreeIter -> IO () |
treeModeliterHasChild <no type information> |
treePathAppendIndex:: TreePath -> Int -> IO () |
treePathNewFirst:: IO TreePath |
treePathToString:: TreePath -> IO String |
Most functions are defined in the latter two classes. This module provides the TreeIter and TreePath objects. -
Tree Iterator : A pointer to an entry in a TreeStore or ListStore. Tree Iterator : A pointer to an entry in a TreeStore or ListStore.
| newtype TreeIter = | TreeIter (ForeignPtr (TreeIter)) |
Create a new TreePath.
| treePathNew |
A TreePath is an hierarchical index. It is independent of a specific TreeModel.
Retrieves the type of a specific column.
| treeModelGetColumnType | :: tm | :: Int | :: IO TMType |
| tm | col |
Turn a TreePath into a TreeIter.
| treeModelGetIter | :: tm | :: TreePath | :: IO (Maybe TreeIter) |
| tm | tp |
Returns Nothing if the tp is invalid.
Retrieves an TreeIter to the first entry.
| treeModelGetIterFirst | :: tm | :: IO (Maybe TreeIter) |
| tm |
Returns Nothing if the table is empty.
Turn a String into a TreeIter.
| treeModelGetIterFromString | :: tm | :: String | :: IO (Maybe TreeIter) |
| tm | str |
Returns Nothing if the table is empty.
Read the number of columns this TreeModel currently stores.
| treeModelGetNColumns | :: tm | :: IO Int |
| tm |
Read the value of at a specific column and Iterator.
| treeModelGetValue | :: tm | :: TreeIter | :: Int | :: IO GenericValue |
| tm | iter | col |
Retrieve an iterator to the first child.
| treeModelIterChildren | :: tm | :: TreeIter | :: IO (Maybe TreeIter) |
| tm | parent |
Return the number of children.
| treeModelIterNChildren | :: tm | :: Maybe TreeIter | :: IO Int |
| tm | iter |
If Nothing is specified for the tm argument, the function will work on toplevel elements.
Advance the iterator to the next element.
| treeModelIterNext | :: tm | :: TreeIter | :: IO Bool |
| tm | iter |
If there is no other element on this hierarchy level, return False.
Retrieve the nth child.
| treeModelIterNthChild | :: tm | :: Maybe TreeIter | :: Int | :: IO (Maybe TreeIter) |
| tm | parent | n |
If Nothing is specified for the tm argument, the function will work on toplevel elements.
Retrieve the parent of this iterator.
| treeModelIterParent | :: tm | :: TreeIter | :: IO (Maybe TreeIter) |
| tm | child |