X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caef1a4da61f682659a1a17a68374574ba26afc9..ff006095c2cb350af9d765e9d832fc2b7944e32f:/wxPython/contrib/stc/msw/stc.py diff --git a/wxPython/contrib/stc/msw/stc.py b/wxPython/contrib/stc/msw/stc.py index c08900dd89..481ac536fa 100644 --- a/wxPython/contrib/stc/msw/stc.py +++ b/wxPython/contrib/stc/msw/stc.py @@ -9,6 +9,47 @@ languages are built-in. import _stc +def _swig_setattr_nondynamic(self,class_type,name,value,static=1): + if (name == "this"): + if isinstance(value, class_type): + self.__dict__[name] = value.this + if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown + del value.thisown + return + method = class_type.__swig_setmethods__.get(name,None) + if method: return method(self,value) + if (not static) or hasattr(self,name) or (name == "thisown"): + self.__dict__[name] = value + else: + raise AttributeError("You cannot add attributes to %s" % self) + +def _swig_setattr(self,class_type,name,value): + return _swig_setattr_nondynamic(self,class_type,name,value,0) + +def _swig_getattr(self,class_type,name): + method = class_type.__swig_getmethods__.get(name,None) + if method: return method(self) + raise AttributeError,name + +import types +try: + _object = types.ObjectType + _newclass = 1 +except AttributeError: + class _object : pass + _newclass = 0 +del types + + +def _swig_setattr_nondynamic_method(set): + def set_attr(self,name,value): + if hasattr(self,name) or (name in ("this", "thisown")): + set(self,name,value) + else: + raise AttributeError("You cannot add attributes to %s" % self) + return set_attr + + import _core import _misc wx = _core @@ -134,6 +175,12 @@ STC_FOLDFLAG_BOX = _stc.STC_FOLDFLAG_BOX STC_TIME_FOREVER = _stc.STC_TIME_FOREVER STC_WRAP_NONE = _stc.STC_WRAP_NONE STC_WRAP_WORD = _stc.STC_WRAP_WORD +STC_WRAPVISUALFLAG_NONE = _stc.STC_WRAPVISUALFLAG_NONE +STC_WRAPVISUALFLAG_END = _stc.STC_WRAPVISUALFLAG_END +STC_WRAPVISUALFLAG_START = _stc.STC_WRAPVISUALFLAG_START +STC_WRAPVISUALFLAGLOC_DEFAULT = _stc.STC_WRAPVISUALFLAGLOC_DEFAULT +STC_WRAPVISUALFLAGLOC_END_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_END_BY_TEXT +STC_WRAPVISUALFLAGLOC_START_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_START_BY_TEXT STC_CACHE_NONE = _stc.STC_CACHE_NONE STC_CACHE_CARET = _stc.STC_CACHE_CARET STC_CACHE_PAGE = _stc.STC_CACHE_PAGE @@ -240,6 +287,16 @@ STC_LEX_POWERBASIC = _stc.STC_LEX_POWERBASIC STC_LEX_FORTH = _stc.STC_LEX_FORTH STC_LEX_ERLANG = _stc.STC_LEX_ERLANG STC_LEX_OCTAVE = _stc.STC_LEX_OCTAVE +STC_LEX_MSSQL = _stc.STC_LEX_MSSQL +STC_LEX_VERILOG = _stc.STC_LEX_VERILOG +STC_LEX_KIX = _stc.STC_LEX_KIX +STC_LEX_GUI4CLI = _stc.STC_LEX_GUI4CLI +STC_LEX_SPECMAN = _stc.STC_LEX_SPECMAN +STC_LEX_AU3 = _stc.STC_LEX_AU3 +STC_LEX_APDL = _stc.STC_LEX_APDL +STC_LEX_BASH = _stc.STC_LEX_BASH +STC_LEX_ASN1 = _stc.STC_LEX_ASN1 +STC_LEX_VHDL = _stc.STC_LEX_VHDL STC_LEX_AUTOMATIC = _stc.STC_LEX_AUTOMATIC STC_P_DEFAULT = _stc.STC_P_DEFAULT STC_P_COMMENTLINE = _stc.STC_P_COMMENTLINE @@ -362,6 +419,7 @@ STC_HP_CLASSNAME = _stc.STC_HP_CLASSNAME STC_HP_DEFNAME = _stc.STC_HP_DEFNAME STC_HP_OPERATOR = _stc.STC_HP_OPERATOR STC_HP_IDENTIFIER = _stc.STC_HP_IDENTIFIER +STC_HPHP_COMPLEX_VARIABLE = _stc.STC_HPHP_COMPLEX_VARIABLE STC_HPA_START = _stc.STC_HPA_START STC_HPA_DEFAULT = _stc.STC_HPA_DEFAULT STC_HPA_COMMENTLINE = _stc.STC_HPA_COMMENTLINE @@ -428,6 +486,8 @@ STC_B_STRINGEOL = _stc.STC_B_STRINGEOL STC_B_KEYWORD2 = _stc.STC_B_KEYWORD2 STC_B_KEYWORD3 = _stc.STC_B_KEYWORD3 STC_B_KEYWORD4 = _stc.STC_B_KEYWORD4 +STC_B_CONSTANT = _stc.STC_B_CONSTANT +STC_B_ASM = _stc.STC_B_ASM STC_PROPS_DEFAULT = _stc.STC_PROPS_DEFAULT STC_PROPS_COMMENT = _stc.STC_PROPS_COMMENT STC_PROPS_SECTION = _stc.STC_PROPS_SECTION @@ -477,6 +537,8 @@ STC_ERR_ELF = _stc.STC_ERR_ELF STC_ERR_IFC = _stc.STC_ERR_IFC STC_ERR_IFORT = _stc.STC_ERR_IFORT STC_ERR_ABSF = _stc.STC_ERR_ABSF +STC_ERR_TIDY = _stc.STC_ERR_TIDY +STC_ERR_JAVA_STACK = _stc.STC_ERR_JAVA_STACK STC_BAT_DEFAULT = _stc.STC_BAT_DEFAULT STC_BAT_COMMENT = _stc.STC_BAT_COMMENT STC_BAT_WORD = _stc.STC_BAT_WORD @@ -657,6 +719,7 @@ STC_CSS_IMPORTANT = _stc.STC_CSS_IMPORTANT STC_CSS_DIRECTIVE = _stc.STC_CSS_DIRECTIVE STC_CSS_DOUBLESTRING = _stc.STC_CSS_DOUBLESTRING STC_CSS_SINGLESTRING = _stc.STC_CSS_SINGLESTRING +STC_CSS_IDENTIFIER2 = _stc.STC_CSS_IDENTIFIER2 STC_POV_DEFAULT = _stc.STC_POV_DEFAULT STC_POV_COMMENT = _stc.STC_POV_COMMENT STC_POV_COMMENTLINE = _stc.STC_POV_COMMENTLINE @@ -727,6 +790,7 @@ STC_NSIS_SUBSECTIONDEF = _stc.STC_NSIS_SUBSECTIONDEF STC_NSIS_IFDEFINEDEF = _stc.STC_NSIS_IFDEFINEDEF STC_NSIS_MACRODEF = _stc.STC_NSIS_MACRODEF STC_NSIS_STRINGVAR = _stc.STC_NSIS_STRINGVAR +STC_NSIS_NUMBER = _stc.STC_NSIS_NUMBER STC_MMIXAL_LEADWS = _stc.STC_MMIXAL_LEADWS STC_MMIXAL_COMMENT = _stc.STC_MMIXAL_COMMENT STC_MMIXAL_LABEL = _stc.STC_MMIXAL_LABEL @@ -804,6 +868,140 @@ STC_ERLANG_RECORD = _stc.STC_ERLANG_RECORD STC_ERLANG_SEPARATOR = _stc.STC_ERLANG_SEPARATOR STC_ERLANG_NODE_NAME = _stc.STC_ERLANG_NODE_NAME STC_ERLANG_UNKNOWN = _stc.STC_ERLANG_UNKNOWN +STC_MSSQL_DEFAULT = _stc.STC_MSSQL_DEFAULT +STC_MSSQL_COMMENT = _stc.STC_MSSQL_COMMENT +STC_MSSQL_LINE_COMMENT = _stc.STC_MSSQL_LINE_COMMENT +STC_MSSQL_NUMBER = _stc.STC_MSSQL_NUMBER +STC_MSSQL_STRING = _stc.STC_MSSQL_STRING +STC_MSSQL_OPERATOR = _stc.STC_MSSQL_OPERATOR +STC_MSSQL_IDENTIFIER = _stc.STC_MSSQL_IDENTIFIER +STC_MSSQL_VARIABLE = _stc.STC_MSSQL_VARIABLE +STC_MSSQL_COLUMN_NAME = _stc.STC_MSSQL_COLUMN_NAME +STC_MSSQL_STATEMENT = _stc.STC_MSSQL_STATEMENT +STC_MSSQL_DATATYPE = _stc.STC_MSSQL_DATATYPE +STC_MSSQL_SYSTABLE = _stc.STC_MSSQL_SYSTABLE +STC_MSSQL_GLOBAL_VARIABLE = _stc.STC_MSSQL_GLOBAL_VARIABLE +STC_MSSQL_FUNCTION = _stc.STC_MSSQL_FUNCTION +STC_MSSQL_STORED_PROCEDURE = _stc.STC_MSSQL_STORED_PROCEDURE +STC_MSSQL_DEFAULT_PREF_DATATYPE = _stc.STC_MSSQL_DEFAULT_PREF_DATATYPE +STC_MSSQL_COLUMN_NAME_2 = _stc.STC_MSSQL_COLUMN_NAME_2 +STC_V_DEFAULT = _stc.STC_V_DEFAULT +STC_V_COMMENT = _stc.STC_V_COMMENT +STC_V_COMMENTLINE = _stc.STC_V_COMMENTLINE +STC_V_COMMENTLINEBANG = _stc.STC_V_COMMENTLINEBANG +STC_V_NUMBER = _stc.STC_V_NUMBER +STC_V_WORD = _stc.STC_V_WORD +STC_V_STRING = _stc.STC_V_STRING +STC_V_WORD2 = _stc.STC_V_WORD2 +STC_V_WORD3 = _stc.STC_V_WORD3 +STC_V_PREPROCESSOR = _stc.STC_V_PREPROCESSOR +STC_V_OPERATOR = _stc.STC_V_OPERATOR +STC_V_IDENTIFIER = _stc.STC_V_IDENTIFIER +STC_V_STRINGEOL = _stc.STC_V_STRINGEOL +STC_V_USER = _stc.STC_V_USER +STC_KIX_DEFAULT = _stc.STC_KIX_DEFAULT +STC_KIX_COMMENT = _stc.STC_KIX_COMMENT +STC_KIX_STRING1 = _stc.STC_KIX_STRING1 +STC_KIX_STRING2 = _stc.STC_KIX_STRING2 +STC_KIX_NUMBER = _stc.STC_KIX_NUMBER +STC_KIX_VAR = _stc.STC_KIX_VAR +STC_KIX_MACRO = _stc.STC_KIX_MACRO +STC_KIX_KEYWORD = _stc.STC_KIX_KEYWORD +STC_KIX_FUNCTIONS = _stc.STC_KIX_FUNCTIONS +STC_KIX_OPERATOR = _stc.STC_KIX_OPERATOR +STC_KIX_IDENTIFIER = _stc.STC_KIX_IDENTIFIER +STC_GC_DEFAULT = _stc.STC_GC_DEFAULT +STC_GC_COMMENTLINE = _stc.STC_GC_COMMENTLINE +STC_GC_COMMENTBLOCK = _stc.STC_GC_COMMENTBLOCK +STC_GC_GLOBAL = _stc.STC_GC_GLOBAL +STC_GC_EVENT = _stc.STC_GC_EVENT +STC_GC_ATTRIBUTE = _stc.STC_GC_ATTRIBUTE +STC_GC_CONTROL = _stc.STC_GC_CONTROL +STC_GC_COMMAND = _stc.STC_GC_COMMAND +STC_GC_STRING = _stc.STC_GC_STRING +STC_GC_OPERATOR = _stc.STC_GC_OPERATOR +STC_SN_DEFAULT = _stc.STC_SN_DEFAULT +STC_SN_CODE = _stc.STC_SN_CODE +STC_SN_COMMENTLINE = _stc.STC_SN_COMMENTLINE +STC_SN_COMMENTLINEBANG = _stc.STC_SN_COMMENTLINEBANG +STC_SN_NUMBER = _stc.STC_SN_NUMBER +STC_SN_WORD = _stc.STC_SN_WORD +STC_SN_STRING = _stc.STC_SN_STRING +STC_SN_WORD2 = _stc.STC_SN_WORD2 +STC_SN_WORD3 = _stc.STC_SN_WORD3 +STC_SN_PREPROCESSOR = _stc.STC_SN_PREPROCESSOR +STC_SN_OPERATOR = _stc.STC_SN_OPERATOR +STC_SN_IDENTIFIER = _stc.STC_SN_IDENTIFIER +STC_SN_STRINGEOL = _stc.STC_SN_STRINGEOL +STC_SN_REGEXTAG = _stc.STC_SN_REGEXTAG +STC_SN_SIGNAL = _stc.STC_SN_SIGNAL +STC_SN_USER = _stc.STC_SN_USER +STC_AU3_DEFAULT = _stc.STC_AU3_DEFAULT +STC_AU3_COMMENT = _stc.STC_AU3_COMMENT +STC_AU3_COMMENTBLOCK = _stc.STC_AU3_COMMENTBLOCK +STC_AU3_NUMBER = _stc.STC_AU3_NUMBER +STC_AU3_FUNCTION = _stc.STC_AU3_FUNCTION +STC_AU3_KEYWORD = _stc.STC_AU3_KEYWORD +STC_AU3_MACRO = _stc.STC_AU3_MACRO +STC_AU3_STRING = _stc.STC_AU3_STRING +STC_AU3_OPERATOR = _stc.STC_AU3_OPERATOR +STC_AU3_VARIABLE = _stc.STC_AU3_VARIABLE +STC_AU3_SENT = _stc.STC_AU3_SENT +STC_AU3_PREPROCESSOR = _stc.STC_AU3_PREPROCESSOR +STC_AU3_SPECIAL = _stc.STC_AU3_SPECIAL +STC_APDL_DEFAULT = _stc.STC_APDL_DEFAULT +STC_APDL_COMMENT = _stc.STC_APDL_COMMENT +STC_APDL_COMMENTBLOCK = _stc.STC_APDL_COMMENTBLOCK +STC_APDL_NUMBER = _stc.STC_APDL_NUMBER +STC_APDL_STRING = _stc.STC_APDL_STRING +STC_APDL_OPERATOR = _stc.STC_APDL_OPERATOR +STC_APDL_WORD = _stc.STC_APDL_WORD +STC_APDL_PROCESSOR = _stc.STC_APDL_PROCESSOR +STC_APDL_COMMAND = _stc.STC_APDL_COMMAND +STC_APDL_SLASHCOMMAND = _stc.STC_APDL_SLASHCOMMAND +STC_APDL_STARCOMMAND = _stc.STC_APDL_STARCOMMAND +STC_APDL_ARGUMENT = _stc.STC_APDL_ARGUMENT +STC_APDL_FUNCTION = _stc.STC_APDL_FUNCTION +STC_SH_DEFAULT = _stc.STC_SH_DEFAULT +STC_SH_ERROR = _stc.STC_SH_ERROR +STC_SH_COMMENTLINE = _stc.STC_SH_COMMENTLINE +STC_SH_NUMBER = _stc.STC_SH_NUMBER +STC_SH_WORD = _stc.STC_SH_WORD +STC_SH_STRING = _stc.STC_SH_STRING +STC_SH_CHARACTER = _stc.STC_SH_CHARACTER +STC_SH_OPERATOR = _stc.STC_SH_OPERATOR +STC_SH_IDENTIFIER = _stc.STC_SH_IDENTIFIER +STC_SH_SCALAR = _stc.STC_SH_SCALAR +STC_SH_PARAM = _stc.STC_SH_PARAM +STC_SH_BACKTICKS = _stc.STC_SH_BACKTICKS +STC_SH_HERE_DELIM = _stc.STC_SH_HERE_DELIM +STC_SH_HERE_Q = _stc.STC_SH_HERE_Q +STC_ASN1_DEFAULT = _stc.STC_ASN1_DEFAULT +STC_ASN1_COMMENT = _stc.STC_ASN1_COMMENT +STC_ASN1_IDENTIFIER = _stc.STC_ASN1_IDENTIFIER +STC_ASN1_STRING = _stc.STC_ASN1_STRING +STC_ASN1_OID = _stc.STC_ASN1_OID +STC_ASN1_SCALAR = _stc.STC_ASN1_SCALAR +STC_ASN1_KEYWORD = _stc.STC_ASN1_KEYWORD +STC_ASN1_ATTRIBUTE = _stc.STC_ASN1_ATTRIBUTE +STC_ASN1_DESCRIPTOR = _stc.STC_ASN1_DESCRIPTOR +STC_ASN1_TYPE = _stc.STC_ASN1_TYPE +STC_ASN1_OPERATOR = _stc.STC_ASN1_OPERATOR +STC_VHDL_DEFAULT = _stc.STC_VHDL_DEFAULT +STC_VHDL_COMMENT = _stc.STC_VHDL_COMMENT +STC_VHDL_COMMENTLINEBANG = _stc.STC_VHDL_COMMENTLINEBANG +STC_VHDL_NUMBER = _stc.STC_VHDL_NUMBER +STC_VHDL_STRING = _stc.STC_VHDL_STRING +STC_VHDL_OPERATOR = _stc.STC_VHDL_OPERATOR +STC_VHDL_IDENTIFIER = _stc.STC_VHDL_IDENTIFIER +STC_VHDL_STRINGEOL = _stc.STC_VHDL_STRINGEOL +STC_VHDL_KEYWORD = _stc.STC_VHDL_KEYWORD +STC_VHDL_STDOPERATOR = _stc.STC_VHDL_STDOPERATOR +STC_VHDL_ATTRIBUTE = _stc.STC_VHDL_ATTRIBUTE +STC_VHDL_STDFUNCTION = _stc.STC_VHDL_STDFUNCTION +STC_VHDL_STDPACKAGE = _stc.STC_VHDL_STDPACKAGE +STC_VHDL_STDTYPE = _stc.STC_VHDL_STDTYPE +STC_VHDL_USERWORD = _stc.STC_VHDL_USERWORD STC_CMD_REDO = _stc.STC_CMD_REDO STC_CMD_SELECTALL = _stc.STC_CMD_SELECTALL STC_CMD_UNDO = _stc.STC_CMD_UNDO @@ -896,12 +1094,13 @@ STC_CMD_WORDLEFTENDEXTEND = _stc.STC_CMD_WORDLEFTENDEXTEND STC_CMD_WORDRIGHTEND = _stc.STC_CMD_WORDRIGHTEND STC_CMD_WORDRIGHTENDEXTEND = _stc.STC_CMD_WORDRIGHTENDEXTEND class StyledTextCtrl(_core.Control): + """Proxy of C++ StyledTextCtrl class""" def __repr__(self): 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 @@ -911,8 +1110,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) @@ -1830,6 +2029,30 @@ class StyledTextCtrl(_core.Control): """GetWrapMode(self) -> int""" return _stc.StyledTextCtrl_GetWrapMode(*args, **kwargs) + def SetWrapVisualFlags(*args, **kwargs): + """SetWrapVisualFlags(self, int wrapVisualFlags)""" + return _stc.StyledTextCtrl_SetWrapVisualFlags(*args, **kwargs) + + def GetWrapVisualFlags(*args, **kwargs): + """GetWrapVisualFlags(self) -> int""" + return _stc.StyledTextCtrl_GetWrapVisualFlags(*args, **kwargs) + + def SetWrapVisualFlagsLocation(*args, **kwargs): + """SetWrapVisualFlagsLocation(self, int wrapVisualFlagsLocation)""" + return _stc.StyledTextCtrl_SetWrapVisualFlagsLocation(*args, **kwargs) + + def GetWrapVisualFlagsLocation(*args, **kwargs): + """GetWrapVisualFlagsLocation(self) -> int""" + return _stc.StyledTextCtrl_GetWrapVisualFlagsLocation(*args, **kwargs) + + def SetWrapStartIndent(*args, **kwargs): + """SetWrapStartIndent(self, int indent)""" + return _stc.StyledTextCtrl_SetWrapStartIndent(*args, **kwargs) + + def GetWrapStartIndent(*args, **kwargs): + """GetWrapStartIndent(self) -> int""" + return _stc.StyledTextCtrl_GetWrapStartIndent(*args, **kwargs) + def SetLayoutCache(*args, **kwargs): """SetLayoutCache(self, int mode)""" return _stc.StyledTextCtrl_SetLayoutCache(*args, **kwargs) @@ -2498,6 +2721,14 @@ class StyledTextCtrl(_core.Control): """AutoCompGetCurrent(self) -> int""" return _stc.StyledTextCtrl_AutoCompGetCurrent(*args, **kwargs) + def Allocate(*args, **kwargs): + """Allocate(self, int bytes)""" + return _stc.StyledTextCtrl_Allocate(*args, **kwargs) + + def FindColumn(*args, **kwargs): + """FindColumn(self, int line, int column) -> int""" + return _stc.StyledTextCtrl_FindColumn(*args, **kwargs) + def StartRecord(*args, **kwargs): """StartRecord(self)""" return _stc.StyledTextCtrl_StartRecord(*args, **kwargs) @@ -2634,6 +2865,7 @@ def PreStyledTextCtrl(*args, **kwargs): return val class StyledTextEvent(_core.CommandEvent): + """Proxy of C++ StyledTextEvent class""" def __repr__(self): return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2845,7 +3077,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 @@ -2871,7 +3102,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 )