GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.gpyshell.PyShellWindow Class Reference

Python Shell Window. More...

Public Member Functions

def __init__
def AddLayer
 Add selected map to the layer tree.
def OnClear
 Delete all text from the shell.

Data Fields

 parent
 intro
 shell
 btnClear

Detailed Description

Python Shell Window.

Definition at line 29 of file gpyshell.py.

Constructor & Destructor Documentation

def gui_modules.gpyshell.PyShellWindow.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  kwargs 
)

Definition at line 31 of file gpyshell.py.

Member Function Documentation

def gui_modules.gpyshell.PyShellWindow.AddLayer (   self,
  name,
  ltype = 'auto' 
)

Add selected map to the layer tree.

Parameters
namename of raster/vector map to be added
typemap type ('raster', 'vector', 'auto' for autodetection)

Definition at line 75 of file gpyshell.py.

def gui_modules.gpyshell.PyShellWindow.OnClear (   self,
  event 
)

Delete all text from the shell.

Definition at line 108 of file gpyshell.py.

References gui_modules.gpyshell.PyShellWindow.intro.

Field Documentation

gui_modules.gpyshell.PyShellWindow.btnClear

Definition at line 45 of file gpyshell.py.

gui_modules.gpyshell.PyShellWindow.intro

Definition at line 36 of file gpyshell.py.

Referenced by gui_modules.gpyshell.PyShellWindow.OnClear().

gui_modules.gpyshell.PyShellWindow.shell

Definition at line 39 of file gpyshell.py.


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