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

Styled GMConsole. More...

Inheritance diagram for goutput.GMStc:
Collaboration diagram for goutput.GMStc:

Public Member Functions

def __init__
 
def OnTextSelectionChanged
 Copy selected text to clipboard and skip event. More...
 
def SetStyle
 Set styles for styled text output windows with type face and point size selected by user (Courier New 10 is default) More...
 
def OnDestroy
 The clipboard contents can be preserved after the app has exited. More...
 
def AddTextWrapped
 Add string to text area. More...
 

Data Fields

 parent
 
 StyleDefault
 
 StyleDefaultSpec
 
 StyleCommand
 
 StyleCommandSpec
 
 StyleOutput
 
 StyleOutputSpec
 
 StyleError
 
 StyleErrorSpec
 
 StyleWarning
 
 StyleWarningSpec
 
 StyleMessage
 
 StyleMessageSpec
 
 StyleUnknown
 
 StyleUnknownSpec
 

Detailed Description

Styled GMConsole.

Based on FrameOutErr.py

Name: FrameOutErr.py Purpose: Redirecting stdout / stderr Author: Jean-Michel Fauth, Switzerland Copyright: (c) 2005-2007 Jean-Michel Fauth Licence: GPL

Definition at line 1096 of file goutput.py.

Constructor & Destructor Documentation

def goutput.GMStc.__init__ (   self,
  parent,
  id,
  margin = False,
  wrap = None 
)

Definition at line 1107 of file goutput.py.

Member Function Documentation

def goutput.GMStc.AddTextWrapped (   self,
  txt,
  wrap = None 
)

Add string to text area.

String is wrapped and linesep is also added to the end of the string

Definition at line 1201 of file goutput.py.

References gcmd.EncodeString().

def goutput.GMStc.OnDestroy (   self,
  evt 
)

The clipboard contents can be preserved after the app has exited.

Definition at line 1194 of file goutput.py.

Referenced by prompt.GPromptSTC.__init__().

def goutput.GMStc.OnTextSelectionChanged (   self,
  event 
)

Copy selected text to clipboard and skip event.

The same function is in TextCtrlAutoComplete class (prompt.py).

Definition at line 1145 of file goutput.py.

def goutput.GMStc.SetStyle (   self)

Set styles for styled text output windows with type face and point size selected by user (Courier New 10 is default)

Definition at line 1152 of file goutput.py.

Field Documentation

goutput.GMStc.StyleCommand

Definition at line 1167 of file goutput.py.

goutput.GMStc.StyleCommandSpec

Definition at line 1168 of file goutput.py.

goutput.GMStc.StyleDefault

Definition at line 1165 of file goutput.py.

goutput.GMStc.StyleDefaultSpec

Definition at line 1166 of file goutput.py.

goutput.GMStc.StyleError

Definition at line 1172 of file goutput.py.

goutput.GMStc.StyleErrorSpec

Definition at line 1173 of file goutput.py.

goutput.GMStc.StyleMessage

Definition at line 1178 of file goutput.py.

goutput.GMStc.StyleMessageSpec

Definition at line 1179 of file goutput.py.

goutput.GMStc.StyleOutput

Definition at line 1169 of file goutput.py.

goutput.GMStc.StyleOutputSpec

Definition at line 1170 of file goutput.py.

goutput.GMStc.StyleUnknown

Definition at line 1181 of file goutput.py.

goutput.GMStc.StyleUnknownSpec

Definition at line 1182 of file goutput.py.

goutput.GMStc.StyleWarning

Definition at line 1175 of file goutput.py.

goutput.GMStc.StyleWarningSpec

Definition at line 1176 of file goutput.py.


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