.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.SpinDoubleEvent: ========================================================================================================================================== |phoenix_title| **wx.SpinDoubleEvent** ========================================================================================================================================== This event class is used for the events generated by :ref:`wx.SpinCtrlDouble`. ^^ .. _SpinDoubleEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`wx.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 or when the control loses focus and the new value is different from the last one. See :ref:`wx.SpinDoubleEvent`. ^^ .. seealso:: :ref:`wx.SpinCtrlDouble` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class SpinDoubleEvent:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.SpinDoubleEvent.__init__` The constructor. :meth:`~wx.SpinDoubleEvent.GetValue` Returns the value associated with this spin control event. :meth:`~wx.SpinDoubleEvent.SetValue` Set the value associated with the event. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.SpinDoubleEvent.Value` See :meth:`~wx.SpinDoubleEvent.GetValue` and :meth:`~wx.SpinDoubleEvent.SetValue` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.SpinDoubleEvent(NotifyEvent) **Possible constructors**:: SpinDoubleEvent(commandType=wxEVT_NULL, winid=0, value=0) SpinDoubleEvent(event) This event class is used for the events generated by SpinCtrlDouble. .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self, commandType=wxEVT_NULL, winid=0, value=0)` The constructor. Not normally used by the user code. :param `commandType`: :type `commandType`: wx.EventType :param `winid`: :type `winid`: int :param `value`: :type `value`: float :html:`

` **__init__** `(self, event)` The copy constructor. :param `event`: :type `event`: wx.SpinDoubleEvent :html:`

` .. 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:`~wx.SpinDoubleEvent.GetValue` and :meth:`~wx.SpinDoubleEvent.SetValue`