TreeModel Class Reference

Inheritance diagram for TreeModel:

TreeStore List of all members.

Detailed Description

A tree a list model.

Todo:
how to instanciate a concrete class from a GtkTreeModel? probably by checking the getType value


Public Member Functions

TreeModelFlags getFlags ()
 Get Flags.
gint getNColumns ()
 Get Number of Columns.
GType getColumnType (gint index)
 Get Column Type.
bit getIter (inout TreeIter iter, TreePath path)
 Set the Iter for the pass.
bit getIterFromString (TreeIter iter, char[] pathString)
 Get Iter From String.
bit getIter (TreeIter iter, char[] pathString)
 Get Iter From String.
String getStringFromIter (TreeIter iter)
 Get String From Iter.
bit getIterFirst (TreeIter iter)
 Get Iter First.
TreePath getPath (TreeIter iter)
 getPath
void getValue (TreeIter iter, gint column, Value value)
 Get Value.
bit iterNext (TreeIter iter)
 Iter Next.
bit iterChildren (TreeIter iter, TreeIter parent)
 Iter Children.
bit iterHasChild (TreeIter iter)
 Iter Has Child.
gint iterNChildren (TreeIter iter)
 Iter Number of Children.
bit iterNthChild (TreeIter iter, TreeIter parent, gint n)
 Iter Nth Child.
bit iterParent (TreeIter iter, TreeIter child)
 Iter Parent.
void refNode (TreeIter iter)
 Ref Node.
void unrefNode (TreeIter iter)
 Unref Node.
void get (TreeIter iter,...)
void getValist (TreeIter iter, vaList var_args)
 getValist


Member Function Documentation

void TreeModel.get TreeIter  iter,
  ...
 

Todo:

GType TreeModel.getColumnType gint  index  ) 
 

Get Column Type.

Parameters:
index 
Returns:

TreeModelFlags TreeModel.getFlags  ) 
 

Get Flags.

Returns:

bit TreeModel.getIter TreeIter  iter,
char[]  pathString
 

Get Iter From String.

Parameters:
iter 
pathString 
Returns:

bit TreeModel.getIter inout TreeIter  iter,
TreePath  path
 

Set the Iter for the pass.

Parameters:
iter the iter to set
path 
Returns:

bit TreeModel.getIterFirst TreeIter  iter  ) 
 

Get Iter First.

Parameters:
iter 
Returns:

bit TreeModel.getIterFromString TreeIter  iter,
char[]  pathString
 

Get Iter From String.

Parameters:
iter 
pathString 
Returns:

gint TreeModel.getNColumns  ) 
 

Get Number of Columns.

Returns:

TreePath TreeModel.getPath TreeIter  iter  ) 
 

getPath

Parameters:
iter 
Returns:

String TreeModel.getStringFromIter TreeIter  iter  ) 
 

Get String From Iter.

Parameters:
iter 
Returns:

void TreeModel.getValist TreeIter  iter,
vaList  var_args
 

getValist

Parameters:
iter 
var_args 

void TreeModel.getValue TreeIter  iter,
gint  column,
Value  value
 

Get Value.

Parameters:
iter 
column 
value 

bit TreeModel.iterChildren TreeIter  iter,
TreeIter  parent
 

Iter Children.

Parameters:
iter 
parent 
Returns:

bit TreeModel.iterHasChild TreeIter  iter  ) 
 

Iter Has Child.

Parameters:
iter 
Returns:

gint TreeModel.iterNChildren TreeIter  iter  ) 
 

Iter Number of Children.

Parameters:
iter 
Returns:

bit TreeModel.iterNext TreeIter  iter  ) 
 

Iter Next.

Parameters:
iter 
Returns:

bit TreeModel.iterNthChild TreeIter  iter,
TreeIter  parent,
gint  n
 

Iter Nth Child.

Parameters:
iter 
parent 
n 
Returns:

bit TreeModel.iterParent TreeIter  iter,
TreeIter  child
 

Iter Parent.

Parameters:
iter 
child 
Returns:

void TreeModel.refNode TreeIter  iter  ) 
 

Ref Node.

Parameters:
iter 

void TreeModel.unrefNode TreeIter  iter  ) 
 

Unref Node.

Parameters:
iter 


SourceForge.net Logo DSource.org Logo digitalmars.com Logo