Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.TreeModel

Class TreeModel

dui.ObjectG.ObjectG
        dui.TreeModel.TreeModel

Implemented interfaces:


public class

TreeModel



A tree a list model \todo how to instanciate a concrete class from a GtkTreeModel? probably by checking the getType value

Constructor Summary
protected public (GObject* gObject)
          

Methods Summary
public GtkTreeModel* model()
          
GType getType()
          
TreeModelFlags getFlags()
          Get Flags
gint getNColumns()
          Get Number of Columns
GType getColumnType(gint index)
          Get Column Type
bit getIter(TreeIter iter, TreePath path)
          /* Iterator movement 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 getValist(TreeIter iter, vaList var_args)
          \todo /+ void get(TreeIter iter, .




protected public ctor(TreeModel)(GObject* gObject)

model

public GtkTreeModel* model()

getType

GType getType()

getFlags

TreeModelFlags getFlags()
Get Flags

Returns:

getNColumns

gint getNColumns()
Get Number of Columns

Returns:

getColumnType

GType getColumnType(gint index)
Get Column Type

Parameters:
index -

Returns:

getIter

bit getIter(TreeIter iter, TreePath path)
/* Iterator movement Set the Iter for the pass

Parameters:
iter - the iter to set
path -

Returns:

getIterFromString

bit getIterFromString(TreeIter iter, char pathString)
Get Iter From String

Parameters:
iter -
pathString -

Returns:

getIter

bit getIter(TreeIter iter, char pathString)
Get Iter From String

Parameters:
iter -
pathString -

Returns:

getStringFromIter

String getStringFromIter(TreeIter iter)
Get String From Iter

Parameters:
iter -

Returns:

getIterFirst

bit getIterFirst(TreeIter iter)
Get Iter First

Parameters:
iter -

Returns:

getPath

TreePath getPath(TreeIter iter)
getPath

Parameters:
iter -

Returns:

getValue

void getValue(TreeIter iter, gint column, Value value)
Get Value

Parameters:
iter -
column -
value -

iterNext

bit iterNext(TreeIter iter)
Iter Next

Parameters:
iter -

Returns:

iterChildren

bit iterChildren(TreeIter iter, TreeIter parent)
Iter Children

Parameters:
iter -
parent -

Returns:

iterHasChild

bit iterHasChild(TreeIter iter)
Iter Has Child

Parameters:
iter -

Returns:

iterNChildren

gint iterNChildren(TreeIter iter)
Iter Number of Children

Parameters:
iter -

Returns:

iterNthChild

bit iterNthChild(TreeIter iter, TreeIter parent, gint n)
Iter Nth Child

Parameters:
iter -
parent -
n -

Returns:

iterParent

bit iterParent(TreeIter iter, TreeIter child)
Iter Parent

Parameters:
iter -
child -

Returns:

refNode

void refNode(TreeIter iter)
Ref Node

Parameters:
iter -

unrefNode

void unrefNode(TreeIter iter)
Unref Node

Parameters:
iter -

getValist

void getValist(TreeIter iter, vaList var_args)
\todo /+void get(TreeIter iter, .
.) gtk_tree_model_get(obj(), GtkTreeIter * iter, ...); +/ getValist

Parameters:
iter -
var_args -