GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.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 981 of file goutput.py.


Constructor & Destructor Documentation

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

Definition at line 992 of file goutput.py.


Member Function Documentation

def gui_modules.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 1088 of file goutput.py.

def gui_modules.goutput.GMStc.OnDestroy (   self,
  evt 
)

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

Definition at line 1081 of file goutput.py.

Referenced by gui_modules.prompt.GPromptSTC.__init__().

def gui_modules.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 1030 of file goutput.py.

def gui_modules.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 1037 of file goutput.py.


Field Documentation

gui_modules.goutput.GMStc.StyleCommand

Definition at line 1054 of file goutput.py.

gui_modules.goutput.GMStc.StyleCommandSpec

Definition at line 1055 of file goutput.py.

gui_modules.goutput.GMStc.StyleDefault

Definition at line 1052 of file goutput.py.

gui_modules.goutput.GMStc.StyleDefaultSpec

Definition at line 1053 of file goutput.py.

gui_modules.goutput.GMStc.StyleError

Definition at line 1059 of file goutput.py.

gui_modules.goutput.GMStc.StyleErrorSpec

Definition at line 1060 of file goutput.py.

gui_modules.goutput.GMStc.StyleMessage

Definition at line 1065 of file goutput.py.

gui_modules.goutput.GMStc.StyleMessageSpec

Definition at line 1066 of file goutput.py.

gui_modules.goutput.GMStc.StyleOutput

Definition at line 1056 of file goutput.py.

gui_modules.goutput.GMStc.StyleOutputSpec

Definition at line 1057 of file goutput.py.

gui_modules.goutput.GMStc.StyleUnknown

Definition at line 1068 of file goutput.py.

gui_modules.goutput.GMStc.StyleUnknownSpec

Definition at line 1069 of file goutput.py.

gui_modules.goutput.GMStc.StyleWarning

Definition at line 1062 of file goutput.py.

gui_modules.goutput.GMStc.StyleWarningSpec

Definition at line 1063 of file goutput.py.


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