Phoenix Logo

phoenix_title wx.TextUrlEvent


class_hierarchy Class Hierarchy

Inheritance diagram for class TextUrlEvent:


method_summary Methods Summary

__init__  
Clone Returns a copy of the event.
GetMouseEvent  
GetURLEnd  
GetURLStart  

api Class API



class wx.TextUrlEvent(CommandEvent)

Possible constructors:

TextUrlEvent(winid, evtMouse, start, end)

TextUrlEvent(event)

Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, winid, evtMouse, start, end)

Parameters:
  • winid (int) –
  • evtMouse (wx.MouseEvent) –
  • start (long) –
  • end (long) –



__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

Properties



MouseEvent

See GetMouseEvent



URLEnd

See GetURLEnd



URLStart

See GetURLStart