TreeSelection Class Reference

Inheritance diagram for TreeSelection:

ObjectG List of all members.

Detailed Description

A representation of a tree selection.


Public Member Functions

void setMode (SelectionMode type)
 Set the selection mode.

SelectionMode getMode ()
 Gest the selection mode.

gpointer getUserData ()
 Gets the user data.

TreeView getTreeView ()
 Gets the tree view.

bit getSelected (TreeModel model, TreeIter iter)
 Checks if the iter is selected ???

TreePath[] getSelectedRows (TreeModel model)
 Gets a list with the selected rows.

gint countSelectedRows ()
 Gets the number of selected rows.

void selectPath (TreePath path)
 Selects a path.

void unselectPath (TreePath path)
 Unselects a path.

void selectIter (TreeIter iter)
 Selects the iteractor branch (leave) ???

void unselectIter (TreeIter iter)
 Unselects the iteractor branch (leave) ???

bit pathIsSelected (TreePath path)
 Cheks if the path is selected.

bit iterIsSelected (TreeIter iter)
 Checks if the iteractor is selected.

void selectAll ()
 Selects the entire tree.

void unselectedAll ()
 Unselect the entire tree.

void selectedRange (TreePath startPath, TreePath endPath)
 Select a range of the tree.

void unselectRange (TreePath startPath, TreePath endPath)
 Unselec a rnage of the tree.


Protected Member Functions

 this (GObject *gObject)
 Creates a ObjectG from a GTK GObject.


Member Function Documentation

gint TreeSelection.countSelectedRows  ) 
 

Gets the number of selected rows.

Returns:
the number of selected rows

SelectionMode TreeSelection.getMode  ) 
 

Gest the selection mode.

Returns:
the selection mode

bit TreeSelection.getSelected TreeModel  model,
TreeIter  iter
 

Checks if the iter is selected ???

Parameters:
model the tree model
iter the tree iter
Returns:
true if the iter is selected

TreePath [] TreeSelection.getSelectedRows TreeModel  model  ) 
 

Gets a list with the selected rows.

Parameters:
model the tree model
Returns:
a list with the selected rows

TreeView TreeSelection.getTreeView  ) 
 

Gets the tree view.

Returns:
the tree view

gpointer TreeSelection.getUserData  ) 
 

Gets the user data.

Returns:
the user data

bit TreeSelection.iterIsSelected TreeIter  iter  ) 
 

Checks if the iteractor is selected.

Parameters:
iter the iteractor to test
Returns:
true if the iteractor is selected

bit TreeSelection.pathIsSelected TreePath  path  ) 
 

Cheks if the path is selected.

Parameters:
path the path to test
Returns:
true if the path is selected

void TreeSelection.selectAll  ) 
 

Selects the entire tree.

void TreeSelection.selectedRange TreePath  startPath,
TreePath  endPath
 

Select a range of the tree.

Parameters:
startPath 
endPath 

void TreeSelection.selectIter TreeIter  iter  ) 
 

Selects the iteractor branch (leave) ???

Parameters:
iter the iteractor to select

void TreeSelection.selectPath TreePath  path  ) 
 

Selects a path.

Parameters:
path the path

void TreeSelection.setMode SelectionMode  type  ) 
 

Set the selection mode.

Parameters:
type the new selection mode

TreeSelection.this GObject *  gObject  )  [protected]
 

Creates a ObjectG from a GTK GObject.

This will set a pointer to the ObjectG on the GTK GObject all the new widget will end up executing this contructor.

Reimplemented from ObjectG.

void TreeSelection.unselectedAll  ) 
 

Unselect the entire tree.

void TreeSelection.unselectIter TreeIter  iter  ) 
 

Unselects the iteractor branch (leave) ???

Parameters:
iter the iteractor to unselect

void TreeSelection.unselectPath TreePath  path  ) 
 

Unselects a path.

Parameters:
path the path

void TreeSelection.unselectRange TreePath  startPath,
TreePath  endPath
 

Unselec a rnage of the tree.

Parameters:
startPath 
endPath 


Generated on Sun Dec 21 02:47:13 2003 for DUI by doxygen 1.3.4