Table Of Contents

Previous topic

FloatSpin

Next topic

FloatTextCtrl

This Page

phoenix_title FloatSpinEvent

This event will be sent when a EVT_FLOATSPIN event is mapped in the parent.


class_hierarchy Inheritance Diagram

Inheritance diagram for class FloatSpinEvent

Inheritance diagram of FloatSpinEvent


super_classes Known Superclasses

PyCommandEvent


method_summary Methods Summary

__init__ Default class constructor.
GetPosition Returns event position.
SetPosition Sets event position.

api Class API



class FloatSpinEvent(PyCommandEvent)

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.