.. 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: EventType=wxEVT_NULL, winid: int=0, value:
float=0) -> None
SpinDoubleEvent(event : SpinDoubleEvent) -> None
This event class is used for the events generated by SpinCtrlDouble.
.. method:: __init__(self, *args, **kw)
|overload| **Overloaded Implementations:**
:html:`
`
**__init__** `(self, commandType: EventType=wxEVT_NULL, winid: int=0, value: float=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
:rtype: `None`
:html:`
`
**__init__** `(self, event : SpinDoubleEvent)`
The copy constructor.
:param `event`:
:type `event`: wx.SpinDoubleEvent
:rtype: `None`
:html:`
`
.. method:: GetValue(self)
Returns the value associated with this spin control event.
:rtype: `float`
.. method:: SetValue(self, value : float)
Set the value associated with the event.
(Not normally used by user code.)
:param `value`:
:type `value`: float
:rtype: `None`
.. attribute:: Value
See :meth:`~wx.SpinDoubleEvent.GetValue` and :meth:`~wx.SpinDoubleEvent.SetValue`