GRASS Programmer's Manual  6.4.4(2014)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 1245 of file goutput.py.

Constructor & Destructor Documentation

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

Definition at line 1251 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 1413 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 1348 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 1391 of file goutput.py.

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

def goutput.PyStc.OnUpdateUI (   self,
  evt 
)

Definition at line 1360 of file goutput.py.

Field Documentation

goutput.PyStc.faces

Definition at line 1259 of file goutput.py.

goutput.PyStc.modified

Definition at line 1257 of file goutput.py.

Referenced by goutput.PyStc.OnKeyPressed().

goutput.PyStc.statusbar

Definition at line 1255 of file goutput.py.

Referenced by goutput.PyStc.OnKeyPressed().


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