wx.
TextUrlEvent
(CommandEvent)¶Possible constructors:
TextUrlEvent(winid, evtMouse, start, end)
TextUrlEvent(event)
__init__
(self, *args, **kw)¶__init__ (self, winid, evtMouse, start, end)
Parameters: |
|
---|
__init__ (self, event)
Parameters: | event (wx.TextUrlEvent) – |
---|
Clone
(self)¶Returns a copy of the event.
Any event that is posted to the wxWidgets event system for later action (via wx.EvtHandler.AddPendingEvent
, wx.EvtHandler.QueueEvent
or wx.PostEvent
) must implement this method.
All wxWidgets events fully implement this method, but any derived events implemented by the user should also implement this method just in case they (or some event derived from them) are ever posted.
All wxWidgets events implement a copy constructor, so the easiest way of implementing the Clone function is to implement a copy constructor for a new event (call it MyEvent) and then define the Clone function like this:
def Clone(self):
return MyEvent()
Return type: | wx.Event |
---|
GetMouseEvent
(self)¶Return type: | wx.MouseEvent |
---|
GetURLEnd
(self)¶Return type: | long |
---|
GetURLStart
(self)¶Return type: | long |
---|
MouseEvent
¶See GetMouseEvent
URLStart
¶See GetURLStart