|
GRASS Programmer's Manual
6.4.2(2012)
|
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 | |
| autoCompList | |
| autoCompFilter | |
| cmdDesc | |
| cmdbuffer | |
| cmdindex | |
| dataList | |
Abstract class for interactive wxGUI prompt.
See subclass GPromptPopUp and GPromptSTC.
| def gui_modules.prompt.GPrompt.__init__ | ( | self, | |
| parent | |||
| ) |
Reimplemented in gui_modules.prompt.GPromptPopUp.
| def gui_modules.prompt.GPrompt.GetCommandDesc | ( | self, | |
| cmd | |||
| ) |
Get description for given command.
Definition at line 525 of file prompt.py.
References gui_modules.prompt.GPrompt.moduleDesc.
| def gui_modules.prompt.GPrompt.GetCommandItems | ( | self | ) |
Get list of available commands.
Definition at line 532 of file prompt.py.
References gui_modules.prompt.GPrompt.autoCompFilter, and gui_modules.prompt.GPrompt.moduleList.
| def gui_modules.prompt.GPrompt.GetInput | ( | self | ) |
Get main prompt widget.
Definition at line 626 of file prompt.py.
References gui_modules.gselect.GdalSelect.input.
| def gui_modules.prompt.GPrompt.GetPanel | ( | self | ) |
Get main widget panel.
Definition at line 622 of file prompt.py.
References gui_modules.ogc_services.WMSDialog.panel, gui_modules.mcalc_builder.MapCalcFrame.panel, gui_modules.gdialogs.ElementDialog.panel, gis_set.GRASSStartup.panel, gui_modules.menuform.mainFrame.panel, gui_modules.prompt.GPrompt.panel, gui_modules.dbm.AttributeManager.panel, gui_modules.location_wizard.ProjParamsPage.panel, gui_modules.ghelp.InstallExtensionWindow.panel, gui_modules.gdialogs.ImportDialog.panel, gui_modules.ghelp.UninstallExtensionWindow.panel, gui_modules.gdialogs.ImageSizeDialog.panel, gui_modules.gmodeler.ModelSearchDialog.panel, gui_modules.gmodeler.ModelRelationDialog.panel, and gui_modules.gmodeler.ModelItemDialog.panel.
| def gui_modules.prompt.GPrompt.OnRunCmd | ( | self, | |
| event | |||
| ) |
Run command.
Definition at line 593 of file prompt.py.
References gui_modules.ghelp.MenuTreeWindow.OnUpdateStatusBar(), gui_modules.mcalc_builder.MapCalcFrame.OnUpdateStatusBar(), gui_modules.prompt.GPrompt.OnUpdateStatusBar(), gui_modules.goutput.GMConsole.OnUpdateStatusBar(), gui_modules.ghelp.InstallExtensionWindow.OnUpdateStatusBar(), and gui_modules.prompt.GPrompt.standAlone.
Referenced by gui_modules.prompt.GPromptPopUp.__init__().
| def gui_modules.prompt.GPrompt.OnUpdateStatusBar | ( | self, | |
| event | |||
| ) |
Update Layer Manager status bar.
Definition at line 611 of file prompt.py.
References gui_modules.prompt.GPrompt.standAlone.
Referenced by gui_modules.prompt.GPromptPopUp.__init__(), and gui_modules.prompt.GPrompt.OnRunCmd().
| def gui_modules.prompt.GPrompt.SetFilter | ( | self, | |
| data, | |||
module = True |
|||
| ) |
Set filter.
| data | data dict |
| module | True to filter modules, otherwise data |
Definition at line 630 of file prompt.py.
References gui_modules.prompt.GPrompt._getListOfModules(), and gui_modules.prompt.GPrompt.moduleList.
| gui_modules.prompt.GPrompt.autoCompFilter |
Definition at line 497 of file prompt.py.
Referenced by gui_modules.prompt.GPrompt.GetCommandItems().
| gui_modules.prompt.GPrompt.autoCompList |
Reimplemented in gui_modules.prompt.GPromptSTC.
Definition at line 496 of file prompt.py.
Referenced by gui_modules.prompt.GPromptSTC.OnItemChanged(), and gui_modules.prompt.GPromptSTC.ShowList().
| gui_modules.prompt.GPrompt.cmdbuffer |
Definition at line 501 of file prompt.py.
Referenced by gui_modules.prompt.GPromptSTC.UpdateCmdHistory().
| gui_modules.prompt.GPrompt.cmdDesc |
Reimplemented in gui_modules.prompt.GPromptSTC.
Definition at line 500 of file prompt.py.
Referenced by gui_modules.prompt.GPromptSTC.OnItemSelected().
| gui_modules.prompt.GPrompt.cmdindex |
Reimplemented in gui_modules.prompt.GPromptSTC.
| gui_modules.prompt.GPrompt.moduleDesc |
Definition at line 487 of file prompt.py.
Referenced by gui_modules.prompt.GPrompt.GetCommandDesc(), and gui_modules.prompt.GPromptSTC.OnItemChanged().
| gui_modules.prompt.GPrompt.moduleList |
Definition at line 490 of file prompt.py.
Referenced by gui_modules.prompt.GPrompt.GetCommandItems(), and gui_modules.prompt.GPrompt.SetFilter().
| gui_modules.prompt.GPrompt.panel |
Definition at line 477 of file prompt.py.
Referenced by gui_modules.prompt.GPromptPopUp.__init__(), gui_modules.prompt.GPromptSTC.__init__(), and gui_modules.prompt.GPrompt.GetPanel().
| gui_modules.prompt.GPrompt.parent |
Definition at line 476 of file prompt.py.
Referenced by gui_modules.wxvdigit.VDigitError.Database(), gui_modules.wxvdigit.VDigitError.DbExecute(), gui_modules.wxvdigit.VDigitError.DbLink(), gui_modules.wxvdigit.VDigitError.DeadLine(), gui_modules.wxvdigit.VDigitError.Driver(), gui_modules.wxvdigit.VDigitError.FeatureType(), gui_modules.wxvdigit.VDigitError.NoMap(), wxgui.GMFrame.OnPsMap(), gui_modules.toolbars.VDigitToolbar.OnSelectMap(), gui_modules.toolbars.VDigitToolbar.OnSettings(), gui_modules.toolbars.NvizToolbar.OnSettings(), gui_modules.toolbars.AbstractToolbar.OnTool(), gui_modules.toolbars.VDigitToolbar.OnZBulk(), gui_modules.wxvdigit.VDigitError.ReadLine(), gui_modules.toolbars.VDigitToolbar.StopEditing(), and gui_modules.wxvdigit.VDigitError.WriteLine().
| gui_modules.prompt.GPrompt.standAlone |
Definition at line 480 of file prompt.py.
Referenced by gui_modules.prompt.GPrompt.OnRunCmd(), and gui_modules.prompt.GPrompt.OnUpdateStatusBar().