This event class is used for the events generated by wx.adv.HyperlinkCtrl.
Handlers bound for the following event types will receive a wx.adv.HyperlinkEvent parameter.
__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. |
wx.adv.
HyperlinkEvent
(CommandEvent)¶Possible constructors:
HyperlinkEvent(generator, id, url)
This event class is used for the events generated by HyperlinkCtrl.
__init__
(self, generator, id, url)¶The constructor is not normally used by the user code.
Parameters: |
|
---|
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) – |
---|