X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54f9ee450905e98296e6afd1376b3d1e06a1e00f..ba87052fcf1525ab43277b5509132074853c3283:/wxPython/contrib/stc/gtk/stc.py diff --git a/wxPython/contrib/stc/gtk/stc.py b/wxPython/contrib/stc/gtk/stc.py index bcd03c39f5..0351196dab 100644 --- a/wxPython/contrib/stc/gtk/stc.py +++ b/wxPython/contrib/stc/gtk/stc.py @@ -1,12 +1,18 @@ # 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 import _misc wx = _core -__docfilter__ = wx.__docfilter__ +__docfilter__ = wx.__DocFilter(globals()) STC_USE_DND = _stc.STC_USE_DND STC_USE_POPUP = _stc.STC_USE_POPUP STC_INVALID_POSITION = _stc.STC_INVALID_POSITION @@ -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 )