Class: Wx::FontPickerEvent
- Inherits:
-
CommandEvent
- Object
- Object
- Event
- CommandEvent
- Wx::FontPickerEvent
- 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:
-
EvtHandler#evt_fontpicker_changed(id, meth = nil, &block): Generated whenever the selected font changes.
Category: Events
Instance Method Summary collapse
-
#get_font ⇒ Wx::Font
(also: #font)
Retrieve the font the user has just selected.
-
#initialize(generator, id, font) ⇒ Wx::FontPickerEvent
constructor
The constructor is not normally used by the user code.
-
#set_font(f) ⇒ void
(also: #font=)
Set the font associated with the event.
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.
49 |
# File 'lib/wx/doc/gen/font_picker_event.rb', line 49 def initialize(generator, id, font) end |
Instance Method Details
#get_font ⇒ Wx::Font Also known as: font
Retrieve the font the user has just selected.
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.
59 |
# File 'lib/wx/doc/gen/font_picker_event.rb', line 59 def set_font(f) end |