Table Of Contents

Previous topic

HyperlinkCtrl

Next topic

Joystick

This Page

phoenix_title HyperlinkEvent

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

events Events Emitted by this Class

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

  • EVT_HYPERLINK: User clicked on an hyperlink.

class_hierarchy Inheritance Diagram

Inheritance diagram for class HyperlinkEvent

Inheritance diagram of 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 HyperlinkEvent(CommandEvent)

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

Possible constructors:

HyperlinkEvent(generator, id, url)

Methods



__init__(self, generator, id, url)

The constructor is not normally used by the user code.

Parameters:
  • generator (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