wx.adv.HyperlinkEvent¶
This event class is used for the events generated by wx.adv.HyperlinkCtrl.
Events Emitted by this Class¶
Handlers bound for the following event types will receive a wx.adv.HyperlinkEvent parameter.
EVT_HYPERLINK: User clicked on a hyperlink.
Class Hierarchy¶
Methods Summary¶
The constructor is not normally used by the user code. |
|
Returns the URL of the hyperlink where the user has just clicked. |
|
Sets the URL associated with the event. |
Properties Summary¶
Class API¶
- class wx.adv.HyperlinkEvent(CommandEvent)¶
Possible constructors:
HyperlinkEvent(generator, id, url) -> None
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)
- Return type:
None
- GetURL(self)¶
Returns the URL of the hyperlink where the user has just clicked.
- Return type:
str
- SetURL(self, url)¶
Sets the URL associated with the event.
- Parameters:
url (string)
- Return type:
None
Properties¶