GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ghelp.SearchModuleWindow Class Reference

Search module window (used in MenuTreeWindow) More...

Inheritance diagram for ghelp.SearchModuleWindow:
Collaboration diagram for ghelp.SearchModuleWindow:

Public Member Functions

def __init__
 
def GetCtrl
 Get SearchCtrl widget. More...
 
def GetSelection
 Get selected element. More...
 
def SetSelection
 Set selection element. More...
 
def OnSearchModule
 Search module by keywords or description. More...
 
def OnSelectModule
 Module selected from choice, update command prompt. More...
 
def Reset
 Reset widget. More...
 

Data Fields

 showTip
 
 showChoice
 
 cmdPrompt
 
 box
 
 searchBy
 
 search
 
 searchTip
 
 searchChoice
 

Detailed Description

Search module window (used in MenuTreeWindow)

Definition at line 45 of file ghelp.py.

Constructor & Destructor Documentation

def ghelp.SearchModuleWindow.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  cmdPrompt = None,
  showChoice = True,
  showTip = False,
  kwargs 
)

Definition at line 48 of file ghelp.py.

Member Function Documentation

def ghelp.SearchModuleWindow.GetCtrl (   self)

Get SearchCtrl widget.

Definition at line 110 of file ghelp.py.

References ghelp.SearchModuleWindow.search, and dialogs.ModelSearchDialog.search.

def ghelp.SearchModuleWindow.GetSelection (   self)
def ghelp.SearchModuleWindow.OnSearchModule (   self,
  event 
)

Search module by keywords or description.

Definition at line 124 of file ghelp.py.

References ghelp.SearchModuleWindow.cmdPrompt, widgets.GetValue(), and ghelp.SearchModuleWindow.showTip.

def ghelp.SearchModuleWindow.OnSelectModule (   self,
  event 
)

Module selected from choice, update command prompt.

Definition at line 178 of file ghelp.py.

References ghelp.SearchModuleWindow.cmdPrompt, ghelp.SearchModuleWindow.showTip, and utils.split().

def ghelp.SearchModuleWindow.Reset (   self)

Reset widget.

Definition at line 194 of file ghelp.py.

References ghelp.SearchModuleWindow.showTip.

def ghelp.SearchModuleWindow.SetSelection (   self,
  i 
)

Set selection element.

Definition at line 120 of file ghelp.py.

Referenced by gselect.LayerSelect.Reset(), and widgets.GNotebook.SetSelectionByName().

Field Documentation

ghelp.SearchModuleWindow.box

Definition at line 59 of file ghelp.py.

ghelp.SearchModuleWindow.search
ghelp.SearchModuleWindow.searchBy

Definition at line 62 of file ghelp.py.

ghelp.SearchModuleWindow.searchChoice

Definition at line 78 of file ghelp.py.

ghelp.SearchModuleWindow.searchTip

Definition at line 74 of file ghelp.py.

ghelp.SearchModuleWindow.showChoice

Definition at line 50 of file ghelp.py.

ghelp.SearchModuleWindow.showTip

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