.. include:: headings.inc .. _SpinDoubleEvent: ========================================================================================================================================== |phoenix_title| **SpinDoubleEvent** ========================================================================================================================================== This event class is used for the events generated by :ref:`SpinCtrlDouble`. .. _SpinDoubleEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`SpinDoubleEvent` parameter. - EVT_SPINCTRLDOUBLE: Generated whenever the numeric value of the spin control is changed, that is, when the up/down spin button is clicked, when ``ENTER`` is pressed, or the control loses focus and the new value is different from the last. See :ref:`SpinDoubleEvent`. .. seealso:: :ref:`SpinCtrlDouble` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **SpinDoubleEvent** .. raw:: html

Inheritance diagram of SpinDoubleEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~SpinDoubleEvent.__init__` The constructor. :meth:`~SpinDoubleEvent.GetValue` Returns the value associated with this spin control event. :meth:`~SpinDoubleEvent.SetValue` Set the value associated with the event. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~SpinDoubleEvent.Value` See :meth:`~SpinDoubleEvent.GetValue` and :meth:`~SpinDoubleEvent.SetValue` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: SpinDoubleEvent(NotifyEvent) This event class is used for the events generated by SpinCtrlDouble. **Possible constructors**:: SpinDoubleEvent(commandType=wxEVT_NULL, winid=0, value=0) SpinDoubleEvent(event) .. method:: __init__(self, *args, **kw) |overload| **Overloaded Implementations**: **~~~** **__init__** `(self, commandType=wxEVT_NULL, winid=0, value=0)` The constructor. Not normally used by the user code. :param `commandType`: :type `commandType`: EventType :param `winid`: :type `winid`: int :param `value`: :type `value`: float **~~~** **__init__** `(self, event)` The copy constructor. :param `event`: :type `event`: SpinDoubleEvent **~~~** .. method:: GetValue(self) Returns the value associated with this spin control event. :rtype: `float` .. method:: SetValue(self, value) Set the value associated with the event. (Not normally used by user code.) :param `value`: :type `value`: float .. attribute:: Value See :meth:`~SpinDoubleEvent.GetValue` and :meth:`~SpinDoubleEvent.SetValue`