GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
goutput.GMStc Class Reference

Styled GMConsole. More...

Public Member Functions

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

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 1010 of file goutput.py.


Constructor & Destructor Documentation

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

Definition at line 1021 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 1117 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 1110 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 1059 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 1066 of file goutput.py.


Field Documentation

Definition at line 1083 of file goutput.py.

Definition at line 1084 of file goutput.py.

Definition at line 1081 of file goutput.py.

Definition at line 1082 of file goutput.py.

Definition at line 1088 of file goutput.py.

Definition at line 1089 of file goutput.py.

Definition at line 1094 of file goutput.py.

Definition at line 1095 of file goutput.py.

Definition at line 1085 of file goutput.py.

Definition at line 1086 of file goutput.py.

Definition at line 1097 of file goutput.py.

Definition at line 1098 of file goutput.py.

Definition at line 1091 of file goutput.py.

Definition at line 1092 of file goutput.py.


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