wx.TextUrlEvent¶
Class Hierarchy¶
Methods Summary¶
Returns a copy of the event. |
|
Properties Summary¶
See |
|
See |
|
See |
Class API¶
- class wx.TextUrlEvent(CommandEvent)¶
Possible constructors:
TextUrlEvent(winid, evtMouse, start, end) -> None TextUrlEvent(event) -> None
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self, winid, evtMouse, start, end)
- Parameters:
winid (int)
evtMouse (wx.MouseEvent)
start (long)
end (long)
- Return type:
None
__init__ (self, event)
- Parameters:
event (wx.TextUrlEvent)
- Return type:
None
- 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
orwx.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:
- GetMouseEvent(self)¶
- Return type:
- GetURLEnd(self)¶
- Return type:
int
- GetURLStart(self)¶
- Return type:
int
Properties¶
- MouseEvent¶
See
GetMouseEvent
- URLStart¶
See
GetURLStart