wxRuby Documentation Home

Wx::SpinEvent

This event class is used for the events generated by SpinButton and SpinCtrl.

Derived from

NotifyEvent

CommandEvent

Event

Object

See also

SpinButton and SpinCtrl

Methods

SpinEvent.new

SpinEvent.new(EventType commandType = EVT_NULL,  Integer id = 0)

The constructor is not normally used by the user code.

SpinEvent#get_position

Integer get_position()

Retrieve the current spin button or control value.

SpinEvent#set_position

set_position(Integer pos)

Set the value associated with the event.

[This page automatically generated from the Textile source at Wed Sep 09 02:21:24 +0100 2009]