Class: Wx::HyperlinkEvent

Inherits:
CommandEvent show all
Defined in:
lib/wx/doc/gen/hyperlink_event.rb

Overview

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

Events using this class

The following event-handler methods redirect the events to member method or handler blocks for HyperlinkEvent events. Event handler methods:

Category: Events

Requires:

  • USE_HYPERLINKCTRL

Instance Method Summary collapse

Methods inherited from CommandEvent

#client_data, #client_data=, #get_client_data, #get_client_object, #get_int, #get_selection, #get_string, #is_checked, #is_selection, #set_client_data, #set_client_object, #set_extra_long, #set_int, #set_string

Methods inherited from Event

#clone, #get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initialize(generator, id, url) ⇒ Wx::HyperlinkEvent

The constructor is not normally used by the user code.

Parameters:

  • generator (Wx::Object)
  • id (Integer)
  • url (String)


28
# File 'lib/wx/doc/gen/hyperlink_event.rb', line 28

def initialize(generator, id, url) end

Instance Method Details

#get_urlString Also known as: url

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

Returns:

  • (String)


32
# File 'lib/wx/doc/gen/hyperlink_event.rb', line 32

def get_url; end

#set_url(url) ⇒ void Also known as: url=

This method returns an undefined value.

Sets the URL associated with the event.

Parameters:

  • url (String)


38
# File 'lib/wx/doc/gen/hyperlink_event.rb', line 38

def set_url(url) end