wax.styledtextbox.StyledTextBox
None
ConvertEOLs(self, mode)
Convert the line endings to the given mode. can be a wxSTC
flag, or a string 'unix', 'dos', 'windows', or 'mac'.
CursorDocumentEnd(self)
None
CursorDocumentStart(self)
None
DeleteCurrentLine(self)
None
GetBackgroundColor(args, kwargs)
GetBackgroundColour(self) -> Colour
Returns the background colour of the window.
GetCurrentLineNumber(self)
None
GetEOLMode(self, eolmode)
Return the EOL mode. This is a string that can be 'mac', 'dos',
or 'unix'.
GetFont(self, wxfont)
GetFont(self) -> Font
Returns the default font used for this window.
GetForegroundColor(args, kwargs)
GetForegroundColour(self) -> Colour
Returns the foreground colour of the window. The interpretation of
foreground colour is dependent on the window class; it may be the text
colour or other colour, or it may not be used at all.
GetLineText(self, lineno)
None
GetStringSelection(self)
None
OnPaint(self, event)
None
Replace(self, start, end, text)
None
SetBackgroundColor(self, color)
SetBackgroundColour(self, Colour colour) -> bool
Sets the background colour of the window. Returns True if the colour
was changed. The background colour is usually painted by the default
EVT_ERASE_BACKGROUND event handler function under Windows and
automatically under GTK. Using `wx.NullColour` will reset the window
to the default background colour.
Note that setting the background colour may not cause an immediate
refresh, so you may wish to call `ClearBackground` or `Refresh` after
calling this function.
Using this function will disable attempts to use themes for this
window, if the system supports them. Use with care since usually the
themes represent the appearance chosen by the user to be used for all
applications on the system.
SetBackgroundColour(self, color)
SetBackgroundColour(self, Colour colour) -> bool
Sets the background colour of the window. Returns True if the colour
was changed. The background colour is usually painted by the default
EVT_ERASE_BACKGROUND event handler function under Windows and
automatically under GTK. Using `wx.NullColour` will reset the window
to the default background colour.
Note that setting the background colour may not cause an immediate
refresh, so you may wish to call `ClearBackground` or `Refresh` after
calling this function.
Using this function will disable attempts to use themes for this
window, if the system supports them. Use with care since usually the
themes represent the appearance chosen by the user to be used for all
applications on the system.
SetCursor(self, x, c)
SetCursor(self, Cursor cursor) -> bool
Sets the window's cursor. Notice that the window cursor also sets it
for the children of the window implicitly.
The cursor may be wx.NullCursor in which case the window cursor will
be reset back to default.
SetEOLMode(self, mode)
Set the EOL mode. can be a wxSTC flag, or a string 'unix',
'dos', 'windows' or 'mac'. ('dos' and 'windows' are the same.)
SetFont(self, obj, font)
None
SetForegroundColor(self, color)
SetForegroundColour(self, Colour colour) -> bool
Sets the foreground colour of the window. Returns True is the colour
was changed. The interpretation of foreground colour is dependent on
the window class; it may be the text colour or other colour, or it may
not be used at all.
SetForegroundColour(self, color)
SetForegroundColour(self, Colour colour) -> bool
Sets the foreground colour of the window. Returns True is the colour
was changed. The interpretation of foreground colour is dependent on
the window class; it may be the text colour or other colour, or it may
not be used at all.
SetLanguage(self, language, langconst)
None
SetStyle(self, state, style, const)
None
SetWindowStyle(self, __default__, kwargs, flags)
Wax-style SetWindowStyle that supports the old way of
setting styles (using an integer flag value), and/or
named keywords, depending on the class's _params method.
StyleSetFont(self, style, font)
If self._language is set, this can be called with a string for
, e.g. 'default' or 'comment', etc.
[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to