GRASS Programmer's Manual  6.4.4(2014)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 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 47 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 50 of file ghelp.py.

Member Function Documentation

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

Search module by keywords or description.

Definition at line 123 of file ghelp.py.

References ghelp.SearchModuleWindow.cmdPrompt, and ghelp.SearchModuleWindow.showTip.

def ghelp.SearchModuleWindow.OnSelectModule (   self,
  event 
)

Module selected from choice, update command prompt.

Definition at line 172 of file ghelp.py.

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

def ghelp.SearchModuleWindow.Reset (   self)

Reset widget.

Definition at line 188 of file ghelp.py.

References ghelp.SearchModuleWindow.showTip.

def ghelp.SearchModuleWindow.SetSelection (   self,
  i 
)

Set selection element.

Definition at line 119 of file ghelp.py.

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

Field Documentation

ghelp.SearchModuleWindow.box

Definition at line 61 of file ghelp.py.

ghelp.SearchModuleWindow.search

Definition at line 70 of file ghelp.py.

Referenced by goutput.GMConsole.MakeSearchPaneContent().

ghelp.SearchModuleWindow.searchBy

Definition at line 64 of file ghelp.py.

ghelp.SearchModuleWindow.searchChoice

Definition at line 80 of file ghelp.py.

ghelp.SearchModuleWindow.searchTip

Definition at line 76 of file ghelp.py.

ghelp.SearchModuleWindow.showChoice

Definition at line 52 of file ghelp.py.

ghelp.SearchModuleWindow.showTip

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