GRASS Programmer's Manual
6.4.2(2012)
|
Public Member Functions | |
def | __init__ |
Parses GRASS commands when module is imported and used from Layer Manager. | |
def | GetCmd |
Get validated command. | |
def | ParseCommand |
Parse command. | |
def | GetCommandInputMapParamKey |
Get parameter key for input raster/vector map. |
Data Fields | |
parent | |
show | |
modal | |
centreOnParent | |
checkError | |
grass_task | |
cmd | |
mf |
Definition at line 1682 of file menuform.py.
def gui_modules.menuform.GUI.__init__ | ( | self, | |
parent = None , |
|||
show = True , |
|||
modal = False , |
|||
centreOnParent = False , |
|||
checkError = False |
|||
) |
Parses GRASS commands when module is imported and used from Layer Manager.
Definition at line 1684 of file menuform.py.
def gui_modules.menuform.GUI.GetCmd | ( | self | ) |
Get validated command.
Definition at line 1703 of file menuform.py.
References gui_modules.mcalc_builder.MapCalcFrame.cmd, gui_modules.gcmd.Command.cmd, gui_modules.gcmd.CommandThread.cmd, gui_modules.gdialogs.DecorationDialog.cmd, and gui_modules.menuform.GUI.cmd.
Referenced by gui_modules.render.Layer.__del__(), and gui_modules.render.Layer.SetCmd().
def gui_modules.menuform.GUI.GetCommandInputMapParamKey | ( | self, | |
cmd | |||
) |
Get parameter key for input raster/vector map.
cmd | module name |
Definition at line 1824 of file menuform.py.
References python.core.decode(), gui_modules.menuform.GrassGUIApp.grass_task, and gui_modules.menuform.GUI.grass_task.
def gui_modules.menuform.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 1707 of file menuform.py.
References gui_modules.menuform.GrassGUIApp.grass_task, gui_modules.menuform.GUI.grass_task, and gui_modules.menuform.GUI.show.
gui_modules.menuform.GUI.centreOnParent |
Definition at line 1691 of file menuform.py.
gui_modules.menuform.GUI.checkError |
Definition at line 1692 of file menuform.py.
gui_modules.menuform.GUI.cmd |
Definition at line 1695 of file menuform.py.
Referenced by gui_modules.render.Layer.GetCmd(), gui_modules.menuform.GUI.GetCmd(), gui_modules.vclean.VectorCleaningFrame.OnCopy(), gui_modules.vclean.VectorCleaningFrame.OnHelp(), gui_modules.render.Layer.Render(), and gui_modules.render.Layer.SetCmd().
gui_modules.menuform.GUI.grass_task |
Definition at line 1694 of file menuform.py.
Referenced by gui_modules.menuform.GUI.GetCommandInputMapParamKey(), and gui_modules.menuform.GUI.ParseCommand().
gui_modules.menuform.GUI.mf |
Definition at line 1794 of file menuform.py.
gui_modules.menuform.GUI.modal |
Definition at line 1690 of file menuform.py.
gui_modules.menuform.GUI.parent |
Definition at line 1688 of file menuform.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.menuform.GUI.show |
Definition at line 1689 of file menuform.py.
Referenced by gui_modules.menuform.GUI.ParseCommand().