GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
widgets.ItemTree Class Reference
Inheritance diagram for widgets.ItemTree:
Collaboration diagram for widgets.ItemTree:

Public Member Functions

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

Data Fields

 root
 
 itemsMarked
 
 itemSelected
 

Detailed Description

Definition at line 384 of file widgets.py.

Constructor & Destructor Documentation

def widgets.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 387 of file widgets.py.

Member Function Documentation

def widgets.ItemTree.GetSelected (   self)

Get selected item.

Definition at line 435 of file widgets.py.

References widgets.ItemTree.itemSelected.

Referenced by widgets.ItemTree.OnShowItem().

def widgets.ItemTree.OnShowItem (   self,
  event 
)
def widgets.ItemTree.SearchItems (   self,
  element,
  value 
)

Search item.

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

Definition at line 397 of file widgets.py.

References widgets.ItemTree._processItem(), widgets.ItemTree.itemSelected, menu.MenuTree.itemsMarked, widgets.ItemTree.itemsMarked, workspace.ProcessWorkspaceFile.root, widgets.ItemTree.root, and model.ProcessModelFile.root.

Field Documentation

widgets.ItemTree.itemSelected
widgets.ItemTree.itemsMarked

Definition at line 394 of file widgets.py.

Referenced by widgets.ItemTree.OnShowItem(), and widgets.ItemTree.SearchItems().


The documentation for this class was generated from the following file: