#include </home/zeitlin/src/wx/github/interface/wx/spinbutt.h>
This event class is used for the events generated by wxSpinButton and wxSpinCtrl.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
Note that if you handle both SPIN and UP or DOWN events, you will be notified about each of them twice: first the UP/DOWN event will be received and then, if it wasn't vetoed, the SPIN event will be sent.
Public Member Functions | |
wxSpinEvent (wxEventType commandType=wxEVT_NULL, int id=0) | |
The constructor is not normally used by the user code. | |
int | GetPosition () const |
Retrieve the current spin button or control value. | |
void | SetPosition (int pos) |
Set the value associated with the event. |
wxSpinEvent::wxSpinEvent | ( | wxEventType | commandType = wxEVT_NULL , |
int | id = 0 |
||
) |
The constructor is not normally used by the user code.
int wxSpinEvent::GetPosition | ( | ) | const |
Retrieve the current spin button or control value.
void wxSpinEvent::SetPosition | ( | int | pos | ) |
Set the value associated with the event.