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

Styled Python output (see gmodeler::frame::PythonPanel for usage) More...

Inheritance diagram for goutput.PyStc:
Collaboration diagram for goutput.PyStc:

Public Member Functions

def __init__
 
def OnKeyPressed
 Key pressed. More...
 
def OnUpdateUI
 
def OnMarginClick
 
def FoldAll
 
def Expand
 

Data Fields

 parent
 
 statusbar
 
 modified
 
 faces
 

Detailed Description

Styled Python output (see gmodeler::frame::PythonPanel for usage)

Based on StyledTextCtrl_2 from wxPython demo

Definition at line 1242 of file goutput.py.

Constructor & Destructor Documentation

def goutput.PyStc.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  statusbar = None 
)

Definition at line 1248 of file goutput.py.

Member Function Documentation

def goutput.PyStc.Expand (   self,
  line,
  doExpand,
  force = False,
  visLevels = 0,
  level = -1 
)
def goutput.PyStc.FoldAll (   self)

Definition at line 1410 of file goutput.py.

References goutput.PyStc.Expand(), and tools.range.

Referenced by goutput.PyStc.OnMarginClick().

def goutput.PyStc.OnKeyPressed (   self,
  event 
)

Key pressed.

Todo:
implement code completion (see wxPython demo)

Definition at line 1345 of file goutput.py.

References goutput.PyStc.modified, sqlbuilder.SQLFrame.statusbar, frame.ModelFrame.statusbar, and goutput.PyStc.statusbar.

Referenced by prompt.GPromptSTC.__init__().

def goutput.PyStc.OnMarginClick (   self,
  evt 
)

Definition at line 1388 of file goutput.py.

References goutput.PyStc.Expand(), and goutput.PyStc.FoldAll().

def goutput.PyStc.OnUpdateUI (   self,
  evt 
)

Definition at line 1357 of file goutput.py.

Field Documentation

goutput.PyStc.faces

Definition at line 1256 of file goutput.py.

goutput.PyStc.modified

Definition at line 1254 of file goutput.py.

Referenced by goutput.PyStc.OnKeyPressed().

goutput.PyStc.statusbar

Definition at line 1252 of file goutput.py.

Referenced by goutput.PyStc.OnKeyPressed().


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