Class: Wx::FontPickerEvent

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

Overview

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

Events using this class

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

Category: Events

See Also:

Requires:

  • USE_FONTDLG
  • USE_FONTPICKERCTRL

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, font) ⇒ Wx::FontPickerEvent

The constructor is not normally used by the user code.

Parameters:



49
# File 'lib/wx/doc/gen/font_picker_event.rb', line 49

def initialize(generator, id, font) end

Instance Method Details

#get_fontWx::Font Also known as: font

Retrieve the font the user has just selected.

Returns:



53
# File 'lib/wx/doc/gen/font_picker_event.rb', line 53

def get_font; end

#set_font(f) ⇒ void Also known as: font=

This method returns an undefined value.

Set the font associated with the event.

Parameters:



59
# File 'lib/wx/doc/gen/font_picker_event.rb', line 59

def set_font(f) end