wx.HyperlinkEvent

Inheritance diagram for wx.HyperlinkEvent:



Description

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

Event Handling

Event Name Description
wx.EVT_HYPERLINK(id, func) User clicked on an hyperlink.

Methods Summary

Properties Summary

Class API

Methods

__init__(generator, id, url)

The constructor is not normally used by the user code.

Parameters:

  • generator (wx.Object)
  • id (int)
  • url (string)

Returns:

wx.HyperlinkEvent


GetURL()

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


Returns:

string


SetURL(url)

Sets the URL associated with the event.

Parameters:

  • url (string)

Properties

URL
See GetURL and SetURL