Class: Wx::SpinDoubleEvent
- Inherits:
-
NotifyEvent
- Object
- Object
- Event
- CommandEvent
- NotifyEvent
- Wx::SpinDoubleEvent
- Defined in:
- lib/wx/doc/gen/spin_double_event.rb
Overview
This event class is used for the events generated by SpinCtrlDouble.
Events using this class
The following event-handler methods redirect the events to member method or handler blocks for SpinDoubleEvent events. Event handler methods:
-
EvtHandler#evt_spinctrldouble(id, meth = nil, &block): Generated whenever the numeric value of the spin control is changed, that is, when the up/down spin button is clicked or when the control loses focus and the new value is different from the last one. See SpinDoubleEvent.
Category: Events
Instance Method Summary collapse
-
#get_value ⇒ Float
(also: #value)
Returns the value associated with this spin control event.
-
#initialize(*args) ⇒ SpinDoubleEvent
constructor
A new instance of SpinDoubleEvent.
-
#set_value(value) ⇒ void
(also: #value=)
Set the value associated with the event.
Methods inherited from NotifyEvent
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(commandType = Wx::EVT_NULL, winid = 0, value = 0) ⇒ Wx::SpinDoubleEvent #initialize(event) ⇒ Wx::SpinDoubleEvent
Returns a new instance of SpinDoubleEvent.
37 |
# File 'lib/wx/doc/gen/spin_double_event.rb', line 37 def initialize(*args) end |
Instance Method Details
#get_value ⇒ Float Also known as: value
Returns the value associated with this spin control event.
41 |
# File 'lib/wx/doc/gen/spin_double_event.rb', line 41 def get_value; end |
#set_value(value) ⇒ void Also known as: value=
This method returns an undefined value.
Set the value associated with the event.
(Not normally used by user code.)
49 |
# File 'lib/wx/doc/gen/spin_double_event.rb', line 49 def set_value(value) end |