Returns a copy of the event. |
|
See |
|
See |
|
See |
wx.
TextUrlEvent
(CommandEvent)¶Possible constructors:
TextUrlEvent(winid, evtMouse, start, end)
TextUrlEvent(event)
__init__
(self, *args, **kw)¶__init__ (self, winid, evtMouse, start, end)
winid (int) –
evtMouse (wx.MouseEvent) –
start (long) –
end (long) –
__init__ (self, event)
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()
GetMouseEvent
(self)¶GetURLEnd
(self)¶long
GetURLStart
(self)¶long
MouseEvent
¶See GetMouseEvent
URLStart
¶See GetURLStart