Class: Wx::SpinDoubleEvent

Inherits:
NotifyEvent show all
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

See Also:

Requires:

  • USE_SPINBTN

Instance Method Summary collapse

Methods inherited from NotifyEvent

#allow, #is_allowed, #veto

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.

Overloads:

  • #initialize(commandType = Wx::EVT_NULL, winid = 0, value = 0) ⇒ Wx::SpinDoubleEvent

    The constructor.

    Not normally used by the user code.

    Parameters:

    • commandType (Wx::GenericCollapsiblePane::EventType) (defaults to: Wx::EVT_NULL)
    • winid (Integer) (defaults to: 0)
    • value (Float) (defaults to: 0)
  • #initialize(event) ⇒ Wx::SpinDoubleEvent

    The copy constructor.

    Parameters:



37
# File 'lib/wx/doc/gen/spin_double_event.rb', line 37

def initialize(*args) end

Instance Method Details

#get_valueFloat Also known as: value

Returns the value associated with this spin control event.

Returns:

  • (Float)


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.)

Parameters:

  • value (Float)


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

def set_value(value) end