GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Abstract class for interactive wxGUI prompt. More...
Public Member Functions | |
def | __init__ |
def | GetCommandDesc |
Get description for given command. More... | |
def | GetCommandItems |
Get list of available commands. More... | |
def | OnUpdateStatusBar |
Update Layer Manager status bar. More... | |
def | GetPanel |
Get main widget panel. More... | |
def | GetInput |
Get main prompt widget. More... | |
def | SetFilter |
Set filter. More... | |
def | GetCommands |
Get list of launched commands. More... | |
def | ClearCommands |
Clear list of commands. More... | |
Data Fields | |
parent | |
panel | |
standAlone | |
moduleDesc | |
moduleList | |
mapList | |
mapsetList | |
autoCompList | |
autoCompFilter | |
cmdDesc | |
cmdbuffer | |
cmdindex | |
commands | |
dataList | |
Abstract class for interactive wxGUI prompt.
See subclass GPromptPopUp and GPromptSTC.
def prompt.GPrompt.ClearCommands | ( | self | ) |
Clear list of commands.
Definition at line 670 of file prompt.py.
References prompt.GPrompt.commands.
def prompt.GPrompt.GetCommandDesc | ( | self, | |
cmd | |||
) |
Get description for given command.
Definition at line 527 of file prompt.py.
References prompt.GPrompt.moduleDesc.
def prompt.GPrompt.GetCommandItems | ( | self | ) |
Get list of available commands.
Definition at line 534 of file prompt.py.
References prompt.GPrompt.autoCompFilter, gcmd.EncodeString(), prompt.GPrompt.moduleList, prompt.GPromptPopUp.OnCmdErase(), prompt.GPromptSTC.OnCmdErase(), tools.range, utils.split(), prompt.GPrompt.standAlone, and prompt.GPromptSTC.UpdateCmdHistory().
def prompt.GPrompt.GetCommands | ( | self | ) |
Get list of launched commands.
Definition at line 666 of file prompt.py.
References prompt.GPrompt.commands.
def prompt.GPrompt.GetInput | ( | self | ) |
Get main prompt widget.
Definition at line 645 of file prompt.py.
References gselect.GdalSelect.input.
def prompt.GPrompt.GetPanel | ( | self | ) |
Get main widget panel.
Definition at line 641 of file prompt.py.
References sqlbuilder.SQLFrame.panel, dialogs.ElementDialog.panel, gis_set.GRASSStartup.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.OnUpdateStatusBar | ( | self, | |
event | |||
) |
Update Layer Manager status bar.
Definition at line 630 of file prompt.py.
References prompt.GPrompt.standAlone.
Referenced by prompt.GPromptPopUp.__init__().
def prompt.GPrompt.SetFilter | ( | self, | |
data, | |||
module = True |
|||
) |
Set filter.
data | data dict |
module | True to filter modules, otherwise data |
Definition at line 649 of file prompt.py.
References prompt.GPrompt._getListOfModules(), and prompt.GPrompt.moduleList.
prompt.GPrompt.autoCompFilter |
Definition at line 496 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandItems().
prompt.GPrompt.autoCompList |
Definition at line 495 of file prompt.py.
Referenced by prompt.GPromptSTC.OnItemChanged(), and prompt.GPromptSTC.ShowList().
prompt.GPrompt.cmdbuffer |
Definition at line 500 of file prompt.py.
Referenced by prompt.GPromptSTC.OnKeyPressed(), and prompt.GPromptSTC.UpdateCmdHistory().
prompt.GPrompt.cmdDesc |
Definition at line 499 of file prompt.py.
Referenced by prompt.GPromptSTC.OnItemSelected().
prompt.GPrompt.cmdindex |
Definition at line 501 of file prompt.py.
Referenced by prompt.GPromptSTC.OnKeyPressed().
prompt.GPrompt.commands |
Definition at line 504 of file prompt.py.
Referenced by prompt.GPrompt.ClearCommands(), and prompt.GPrompt.GetCommands().
prompt.GPrompt.moduleDesc |
Definition at line 485 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandDesc(), and prompt.GPromptSTC.OnItemChanged().
prompt.GPrompt.moduleList |
Definition at line 488 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPrompt.SetFilter().
prompt.GPrompt.panel |
Definition at line 475 of file prompt.py.
Referenced by prompt.GPromptPopUp.__init__(), prompt.GPromptSTC.__init__(), and prompt.GPrompt.GetPanel().
prompt.GPrompt.parent |
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().
prompt.GPrompt.standAlone |
Definition at line 478 of file prompt.py.
Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPrompt.OnUpdateStatusBar().