GRASS Programmer's Manual  6.4.2(2012)
gui_modules.ghelp.ItemTree Class Reference
Inheritance diagram for gui_modules.ghelp.ItemTree:

Public Member Functions

def __init__
def SearchItems
 Search item.
def GetSelected
 Get selected item.
def OnShowItem
 Highlight first found item in menu tree.

Data Fields

 root
 itemsMarked
 itemSelected

Detailed Description

Definition at line 356 of file ghelp.py.


Constructor & Destructor Documentation

def gui_modules.ghelp.ItemTree.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  ctstyle = CT.TR_HIDE_ROOT | CT.TR_FULL_ROW_HIGHLIGHT | CT.TR_HAS_BUTTONS |                  CT.TR_LINES_AT_ROOT | CT.TR_SINGLE,
  kwargs 
)

Definition at line 357 of file ghelp.py.


Member Function Documentation

Get selected item.

Definition at line 407 of file ghelp.py.

References gui_modules.ghelp.ItemTree.itemSelected.

Referenced by gui_modules.ghelp.ItemTree.OnShowItem().

def gui_modules.ghelp.ItemTree.SearchItems (   self,
  element,
  value 
)

Search item.

Parameters:
elementelement index (see self.searchBy)
value
Returns:
list of found tree items

Definition at line 369 of file ghelp.py.

References gui_modules.ghelp.ItemTree._processItem(), gui_modules.ghelp.ItemTree.itemSelected, gui_modules.ghelp.ItemTree.itemsMarked, and gui_modules.ghelp.ItemTree.root.


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines