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

Python Shell Window. More...

Inheritance diagram for pyshell.PyShellWindow:
Collaboration diagram for pyshell.PyShellWindow:

Public Member Functions

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

Data Fields

 parent
 
 intro
 
 shell
 
 btnClear
 

Detailed Description

Python Shell Window.

Definition at line 28 of file pyshell.py.

Constructor & Destructor Documentation

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

Definition at line 30 of file pyshell.py.

Member Function Documentation

def pyshell.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 74 of file pyshell.py.

def pyshell.PyShellWindow.OnClear (   self,
  event 
)

Delete all text from the shell.

Definition at line 107 of file pyshell.py.

References pyshell.PyShellWindow.intro.

Field Documentation

pyshell.PyShellWindow.btnClear

Definition at line 44 of file pyshell.py.

pyshell.PyShellWindow.intro

Definition at line 35 of file pyshell.py.

Referenced by pyshell.PyShellWindow.OnClear().

pyshell.PyShellWindow.shell

Definition at line 38 of file pyshell.py.


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