|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Abstract class for interactive wxGUI prompt. More...

Public Member Functions | |
| def | __init__ |
| def | GetCommandDesc |
| Get description for given command. | |
| def | GetCommandItems |
| Get list of available commands. | |
| def | OnRunCmd |
| Run command. | |
| def | OnUpdateStatusBar |
| Update Layer Manager status bar. | |
| def | GetPanel |
| Get main widget panel. | |
| def | GetInput |
| Get main prompt widget. | |
| def | SetFilter |
| Set filter. | |
Data Fields | |
| parent | |
| panel | |
| standAlone | |
| moduleDesc | |
| moduleList | |
| mapList | |
| mapsetList | |
| autoCompList | |
| autoCompFilter | |
| cmdDesc | |
| cmdbuffer | |
| cmdindex | |
| dataList | |
Abstract class for interactive wxGUI prompt.
See subclass GPromptPopUp and GPromptSTC.
| def prompt.GPrompt.__init__ | ( | self, | |
| parent | |||
| ) |
Reimplemented in prompt.GPromptPopUp.
| def prompt.GPrompt.GetCommandDesc | ( | self, | |
| cmd | |||
| ) |
Get description for given command.
Definition at line 524 of file prompt.py.
References prompt.GPrompt.moduleDesc.
| def prompt.GPrompt.GetCommandItems | ( | self | ) |
Get list of available commands.
Definition at line 531 of file prompt.py.
References prompt.GPrompt.autoCompFilter, prompt.GPrompt.moduleList, and tools.range.
| def prompt.GPrompt.GetInput | ( | self | ) |
Get main prompt widget.
Definition at line 625 of file prompt.py.
References gselect.GdalSelect.input.
| def prompt.GPrompt.GetPanel | ( | self | ) |
Get main widget panel.
Definition at line 621 of file prompt.py.
References gis_set.GRASSStartup.panel, dialogs.ElementDialog.panel, sqlbuilder.SQLFrame.panel, dialogs.ModelSearchDialog.panel, dialogs.ModelRelationDialog.panel, forms.TaskFrame.panel, dialogs.ModelItemDialog.panel, prompt.GPrompt.panel, manager.AttributeManager.panel, dialogs.ImportDialog.panel, and dialogs.ImageSizeDialog.panel.
| def prompt.GPrompt.OnRunCmd | ( | self, | |
| event | |||
| ) |
Run command.
Definition at line 592 of file prompt.py.
References ghelp.MenuTreeWindow.OnUpdateStatusBar(), prompt.GPrompt.OnUpdateStatusBar(), goutput.GMConsole.OnUpdateStatusBar(), utils.split(), and prompt.GPrompt.standAlone.
Referenced by prompt.GPromptPopUp.__init__().
| def prompt.GPrompt.OnUpdateStatusBar | ( | self, | |
| event | |||
| ) |
Update Layer Manager status bar.
Definition at line 610 of file prompt.py.
References prompt.GPrompt.standAlone.
Referenced by prompt.GPromptPopUp.__init__(), and prompt.GPrompt.OnRunCmd().
| def prompt.GPrompt.SetFilter | ( | self, | |
| data, | |||
module = True |
|||
| ) |
Set filter.
| data | data dict |
| module | True to filter modules, otherwise data |
Definition at line 629 of file prompt.py.
References prompt.GPrompt._getListOfModules(), and prompt.GPrompt.moduleList.
Definition at line 496 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandItems().
Reimplemented in prompt.GPromptSTC.
Definition at line 495 of file prompt.py.
Referenced by prompt.GPromptSTC.OnItemChanged(), and prompt.GPromptSTC.ShowList().
Definition at line 500 of file prompt.py.
Referenced by prompt.GPromptSTC.UpdateCmdHistory().
Reimplemented in prompt.GPromptSTC.
Definition at line 499 of file prompt.py.
Referenced by prompt.GPromptSTC.OnItemSelected().
Reimplemented in prompt.GPromptSTC.
Definition at line 485 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandDesc(), and prompt.GPromptSTC.OnItemChanged().
Definition at line 488 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPrompt.SetFilter().
Definition at line 475 of file prompt.py.
Referenced by prompt.GPromptPopUp.__init__(), prompt.GPromptSTC.__init__(), and prompt.GPrompt.GetPanel().
Definition at line 474 of file prompt.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), toolbars.VDigitToolbar.OnSelectMap(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), and wxdigit.VDigitError.WriteLine().
Definition at line 478 of file prompt.py.
Referenced by prompt.GPrompt.OnRunCmd(), and prompt.GPrompt.OnUpdateStatusBar().