GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
forms.GUI Class Reference

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


Detailed Description

Definition at line 1820 of file

Constructor & Destructor Documentation

def forms.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 1822 of file

Member Function Documentation

def forms.GUI.GetCmd (   self)

Get validated command.

Definition at line 1841 of file

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,

Get parameter key for input raster/vector map.

cmdmodule name
parameter key
None on failure

Definition at line 1961 of file

References python.core.decode(), and forms.GUI.grass_task.

def forms.GUI.ParseCommand (   self,
  gmpath = None,
  completed = None 

Parse command.

Note: cmd is given as list

If command is given with options, return validated cmd list:

  • add key name for first parameter if not given
  • change mapname to mapname

Definition at line 1845 of file

References gcmd.GetRealCmd(), forms.GUI.grass_task, and

Field Documentation


Definition at line 1829 of file


Definition at line 1830 of file


Definition at line 1832 of file

Referenced by forms.GUI.GetCommandInputMapParamKey(), and forms.GUI.ParseCommand().

Definition at line 1931 of file


Definition at line 1828 of file

Definition at line 1827 of file

Referenced by forms.GUI.ParseCommand().

The documentation for this class was generated from the following file: