.. 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
.. currentmodule:: wx.lib.agw.floatspin
.. highlight:: python
.. _wx.lib.agw.floatspin.FloatSpinEvent:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.floatspin.FloatSpinEvent**
==========================================================================================================================================
This event will be sent when a ``EVT_FLOATSPIN`` event is mapped in the parent.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FloatSpinEvent:
|
|super_classes| Known Superclasses
==================================
:class:`wx.CommandEvent`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.floatspin.FloatSpinEvent.__init__` Default class constructor.
:meth:`~wx.lib.agw.floatspin.FloatSpinEvent.GetPosition` Returns event position.
:meth:`~wx.lib.agw.floatspin.FloatSpinEvent.SetPosition` Sets event position.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: FloatSpinEvent(wx.CommandEvent)
This event will be sent when a ``EVT_FLOATSPIN`` event is mapped in the parent.
.. method:: __init__(self, eventType, eventId=1, nSel=-1, nOldSel=-1)
Default class constructor.
:param `eventType`: the event type;
:param `eventId`: the event identifier;
:param `nSel`: the current selection;
:param `nOldSel`: the old selection.
.. method:: GetPosition(self)
Returns event position.
.. method:: SetPosition(self, pos)
Sets event position.
:param `pos`: an integer specyfing the event position.