FBTree Class Reference

FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree FBTree
Inheritance diagram for FBTree:
Inheritance graph
[legend]

List of all members.


Detailed Description

Tree list view.

See sample: Tree.py.


Public Member Functions

  FBTree ()
  Constructor.
  Clear ()
  Clear the tree (remove all nodes).
FBTreeNode  GetRoot ()
  Get the root node.
FBTreeNode  InsertLast (FBTreeNode pNode, str pName)
  Insert node at the end.

Public Attributes

bool  AllowCollapse
  Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
bool  AllowExpansion
  Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
bool  AutoExpandOnDblClick
  Read Write Property: Allow automatic expand on double click, default is false.
bool  AutoExpandOnDragOver
  Read Write Property: Allow automatic expand on drag over, default is false.
bool  AutoScroll
  Read Write Property: If AutoScroll property is True then the tree window will be automatically scrolled when the user drags item(s) over the boundaries of the tree.
bool  AutoScrollOnExpand
  Read Write Property: Allow automatic scroll on expand, default is true.
bool  CheckBoxes
  Read Write Property: Draw check boxe for each node.
bool  DeselectOnCollapse
  Read Write Property: Tells whether node are deselected if parent node is collapsed.
bool  EditNodeOn2Select
  Read Write Property: Set to true, to allow automatic node editing on second select.
bool  HighlightOnRightClick
  Read Write Property: Hightlight node on right click.
int  Indent
  Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes when the parent is expanded.
int  ItemHeight
  Read Write Property: Height of an item.
bool  MultiDrag
  Read Write Property: Tells whether multiple drag/drop is allowed or not.
bool  MultiSelect
  Read Write Property: Tells whether multiple selection is allowed or not.
bool  NoSelectOnDrag
  Read Write Property: Tells whether node are selected if drag is start and node is not already selected.
bool  NoSelectOnRightClick
  Read Write Property: Tells whether node are selected if right click on node.
FBEvent  OnChange
  Event: Change of the selection.
FBEvent  OnClick
  Event: Click on a node of the tree.
FBEvent  OnCollapsed
  Event: Click on the "-" sign before a non-leaf node.
FBEvent  OnCollapsing
  Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.
FBEvent  OnDblClick
  Event: Double-Click on a node of the tree.
FBEvent  OnDragAndDrop
  Event: Drag and drop of an element.
FBEvent  OnExpanded
  Event: Click on the "+" sign before a non-leaf node
FBEvent  OnExpanding
  Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.
FBEvent  OnSelect
  Event: A node was selected.
int  SelectedCount
  Read Only Property: Count of selected items.
bool  SelectionActive
  Read Write Property: Tells whether selection is allowed or not.
bool  ShowLines
  Read Write Property: On node selection, will draw entire line selected
int  TreeHeight
  Read Only Property: Height of the tree.
int  TreeWidth
  Read Only Property: Width of the tree.
int  VisibleItemCount
  Read Only Property: Count of visible items.

Constructor & Destructor Documentation

FBTree (  ) 

Constructor.


Member Function Documentation

Clear (  ) 

Clear the tree (remove all nodes).

FBTreeNode GetRoot (  ) 

Get the root node.

Returns:
the root node of the tree.

FBTreeNode InsertLast ( FBTreeNode  pNode,
str  pName  
)

Insert node at the end.

Parameters:
pNode  Node under which the new node will appear.
pName  Text to display for this node.
Returns:
the newly created node.

Member Data Documentation

bool AllowCollapse

Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.

bool AllowExpansion

Read Write Property: When OnExpanding occurs, set this to true to allow expansion.

bool AutoExpandOnDblClick

Read Write Property: Allow automatic expand on double click, default is false.

bool AutoExpandOnDragOver

Read Write Property: Allow automatic expand on drag over, default is false.

bool AutoScroll

Read Write Property: If AutoScroll property is True then the tree window will be automatically scrolled when the user drags item(s) over the boundaries of the tree.

bool AutoScrollOnExpand

Read Write Property: Allow automatic scroll on expand, default is true.

bool CheckBoxes

Read Write Property: Draw check boxe for each node.

bool DeselectOnCollapse

Read Write Property: Tells whether node are deselected if parent node is collapsed.

bool EditNodeOn2Select

Read Write Property: Set to true, to allow automatic node editing on second select.

bool HighlightOnRightClick

Read Write Property: Hightlight node on right click.

int Indent

Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes when the parent is expanded.

int ItemHeight

Read Write Property: Height of an item.

bool MultiDrag

Read Write Property: Tells whether multiple drag/drop is allowed or not.

bool MultiSelect

Read Write Property: Tells whether multiple selection is allowed or not.

bool NoSelectOnDrag

Read Write Property: Tells whether node are selected if drag is start and node is not already selected.

bool NoSelectOnRightClick

Read Write Property: Tells whether node are selected if right click on node.

FBEvent OnChange

Event: Change of the selection.

FBEvent OnClick

Event: Click on a node of the tree.

FBEvent OnCollapsed

Event: Click on the "-" sign before a non-leaf node.

FBEvent OnCollapsing

Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.

FBEvent OnDblClick

Event: Double-Click on a node of the tree.

FBEvent OnDragAndDrop

Event: Drag and drop of an element.

FBEvent OnExpanded

Event: Click on the "+" sign before a non-leaf node

FBEvent OnExpanding

Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.

FBEvent OnSelect

Event: A node was selected.

int SelectedCount

Read Only Property: Count of selected items.

bool SelectionActive

Read Write Property: Tells whether selection is allowed or not.

bool ShowLines

Read Write Property: On node selection, will draw entire line selected

int TreeHeight

Read Only Property: Height of the tree.

int TreeWidth

Read Only Property: Width of the tree.

int VisibleItemCount

Read Only Property: Count of visible items.


Generated on Tue Feb 9 19:34:43 2010 for Python Reference Guide by  doxygen 1.5.3