GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Search module window (used in MenuTreeWindow) More...
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 | |
def ghelp.SearchModuleWindow.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
cmdPrompt = None , |
|||
showChoice = True , |
|||
showTip = False , |
|||
kwargs | |||
) |
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 | ) |
Get selected element.
Definition at line 114 of file ghelp.py.
References ghelp.SearchModuleWindow._searchDict.
Referenced by dialogs.TransList.OnDrawItem(), widgets.ItemTree.OnShowItem(), and widgets.GNotebook.SetSelectionByName().
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 | ) |
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().
ghelp.SearchModuleWindow.cmdPrompt |
Definition at line 51 of file ghelp.py.
Referenced by goutput.GMConsole.GetPrompt(), goutput.GMConsole.MakeSearchPaneContent(), ghelp.SearchModuleWindow.OnSearchModule(), and ghelp.SearchModuleWindow.OnSelectModule().
ghelp.SearchModuleWindow.search |
Definition at line 68 of file ghelp.py.
Referenced by ghelp.SearchModuleWindow.GetCtrl(), and goutput.GMConsole.MakeSearchPaneContent().
ghelp.SearchModuleWindow.showTip |
Definition at line 49 of file ghelp.py.
Referenced by ghelp.SearchModuleWindow.OnSearchModule(), ghelp.SearchModuleWindow.OnSelectModule(), and ghelp.SearchModuleWindow.Reset().