GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Parses GRASS commands when module is imported and used from Layer Manager. More... | |
def | GetCmd |
Get validated command. More... | |
def | ParseCommand |
Parse command. More... | |
def | GetCommandInputMapParamKey |
Get parameter key for input raster/vector map. More... | |
Data Fields | |
parent | |
show | |
modal | |
centreOnParent | |
checkError | |
grass_task | |
cmd | |
mf | |
def forms.GUI.__init__ | ( | self, | |
parent = None , |
|||
show = True , |
|||
modal = False , |
|||
centreOnParent = False , |
|||
checkError = False |
|||
) |
def forms.GUI.GetCmd | ( | self | ) |
Get validated command.
Definition at line 1841 of file forms.py.
References render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, and forms.GUI.cmd.
Referenced by wxnviz.ImageTexture.Corresponds().
def forms.GUI.GetCommandInputMapParamKey | ( | self, | |
cmd | |||
) |
Get parameter key for input raster/vector map.
cmd | module name |
Definition at line 1961 of file forms.py.
References python.core.decode(), and forms.GUI.grass_task.
def forms.GUI.ParseCommand | ( | self, | |
cmd, | |||
gmpath = None , |
|||
completed = None |
|||
) |
Parse command.
Note: cmd is given as list
If command is given with options, return validated cmd list:
Definition at line 1845 of file forms.py.
References gcmd.GetRealCmd(), forms.GUI.grass_task, and forms.GUI.show.
forms.GUI.cmd |
Definition at line 1833 of file forms.py.
Referenced by forms.GUI.GetCmd(), wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), vclean.VectorCleaningFrame.OnHelp(), mcalc_builder.MapCalcFrame.OnHelp(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
forms.GUI.grass_task |
Definition at line 1832 of file forms.py.
Referenced by forms.GUI.GetCommandInputMapParamKey(), and forms.GUI.ParseCommand().
forms.GUI.parent |
Definition at line 1826 of file forms.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(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), goutput.GMConsole.OnOutputSave(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
forms.GUI.show |
Definition at line 1827 of file forms.py.
Referenced by forms.GUI.ParseCommand().