# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
+"""
+The `StyledTextCtrl` provides a text editor that can used as a syntax
+highlighting source code editor, or similar. Lexers for several programming
+languages are built-in.
+"""
+
import _stc
import _core
return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
- __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=STCNameStr) -> StyledTextCtrl
+ __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=STCNameStr) -> StyledTextCtrl
"""
newobj = _stc.new_StyledTextCtrl(*args, **kwargs)
self.this = newobj.this
def Create(*args, **kwargs):
"""
- Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=wxSTCNameStr)
+ Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=wxSTCNameStr)
"""
return _stc.StyledTextCtrl_Create(*args, **kwargs)
wxEVT_STC_MACRORECORD = _stc.wxEVT_STC_MACRORECORD
wxEVT_STC_MARGINCLICK = _stc.wxEVT_STC_MARGINCLICK
wxEVT_STC_NEEDSHOWN = _stc.wxEVT_STC_NEEDSHOWN
-wxEVT_STC_POSCHANGED = _stc.wxEVT_STC_POSCHANGED
wxEVT_STC_PAINTED = _stc.wxEVT_STC_PAINTED
wxEVT_STC_USERLISTSELECTION = _stc.wxEVT_STC_USERLISTSELECTION
wxEVT_STC_URIDROPPED = _stc.wxEVT_STC_URIDROPPED
EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
-EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 )
EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )