Phoenix Logo

phoenix_title wx.adv.HyperlinkEvent

This event class is used for the events generated by wx.adv.HyperlinkCtrl.

events Events Emitted by this Class

Handlers bound for the following event types will receive a wx.adv.HyperlinkEvent parameter.

  • EVT_HYPERLINK: User clicked on an hyperlink.

class_hierarchy Class Hierarchy

Inheritance diagram for class HyperlinkEvent:


method_summary Methods Summary

__init__ The constructor is not normally used by the user code.
GetURL Returns the URL of the hyperlink where the user has just clicked.
SetURL Sets the URL associated with the event.

property_summary Properties Summary

URL See GetURL and SetURL

api Class API



class wx.adv.HyperlinkEvent(CommandEvent)

Possible constructors:

HyperlinkEvent(generator, id, url)

This event class is used for the events generated by HyperlinkCtrl.


Methods



__init__(self, generator, id, url)

The constructor is not normally used by the user code.

Parameters:
  • generator (wx.Object) –
  • id (int) –
  • url (string) –


GetURL(self)

Returns the URL of the hyperlink where the user has just clicked.

Return type:string


SetURL(self, url)

Sets the URL associated with the event.

Parameters:url (string) –

Properties



URL

See GetURL and SetURL