|
|
AddLine(self,
line,
fgcolor=None,
bgcolor=None)
Adds a colored line to the view |
|
|
|
|
ClearLines(self)
Clears all the lines |
|
|
|
|
Close(self)
Destroys the view. |
|
|
|
|
Count(self)
Returns the number of lines in the view |
|
|
|
|
Create(self,
title)
Creates the custom view. |
|
|
|
|
DelLine(self,
lineno)
Deletes an existing line |
|
|
|
|
EditLine(self,
lineno,
line,
fgcolor=None,
bgcolor=None)
Edits an existing line. |
|
|
|
|
|
|
|
|
|
|
GetLine(self,
lineno)
Returns a line |
|
|
|
|
GetLineNo(self,
mouse=0)
Calls GetPos() and returns the current line number or -1 on failure |
|
|
|
|
GetPos(self,
mouse=0)
Returns the current cursor or mouse position. |
|
|
|
|
|
|
|
GetWidget(self)
Return the TWidget underlying this view. |
|
|
|
|
InsertLine(self,
lineno,
line,
fgcolor=None,
bgcolor=None)
Inserts a line in the given position |
|
|
|
|
IsFocused(self)
Returns True if the current view is the focused view |
|
|
|
|
| Jump(self,
lineno,
x=0,
y=0) |
|
|
|
|
OnPopup(self,
form,
popup_handle)
Context menu popup is about to be shown. |
|
|
|
|
PatchLine(self,
lineno,
offs,
value)
Patches an existing line character at the given offset. |
|
|
|
|
|
|
|
RefreshCurrent(self)
Refreshes the current line only |
|
|
|
|
Show(self)
Shows an already created view. |
|
|
|
|
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|