Phoenix Logo

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

Inheritance diagram for class FloatSpinEvent:


super_classes Known Superclasses

wx.CommandEvent


method_summary Methods Summary

__init__ Default class constructor.
GetPosition Returns event position.
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.


Methods



__init__(self, eventType, eventId=1, nSel=-1, nOldSel=-1)

Default class constructor.

Parameters:
  • eventType – the event type;
  • eventId – the event identifier;
  • nSel – the current selection;
  • nOldSel – the old selection.


GetPosition(self)

Returns event position.



SetPosition(self, pos)

Sets event position.

Parameters:pos – an integer specyfing the event position.