X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66c033b4a6ee95a2392b7f3c5a629256b661c456..ba87052fcf1525ab43277b5509132074853c3283:/wxPython/contrib/stc/gtk/stc.py?ds=sidebyside diff --git a/wxPython/contrib/stc/gtk/stc.py b/wxPython/contrib/stc/gtk/stc.py index 90b8550b78..0351196dab 100644 --- a/wxPython/contrib/stc/gtk/stc.py +++ b/wxPython/contrib/stc/gtk/stc.py @@ -1,6 +1,12 @@ # 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 @@ -894,8 +900,8 @@ class StyledTextCtrl(_core.Control): 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 @@ -905,8 +911,8 @@ class StyledTextCtrl(_core.Control): 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) @@ -2839,7 +2845,6 @@ wxEVT_STC_MODIFIED = _stc.wxEVT_STC_MODIFIED 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 @@ -2865,7 +2870,6 @@ EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 ) 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 )