![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Button interactor with auto-repeat behavior. More...
#include <ilviews/graphics/inter.h>
Public Member Functions | |
| IlvRepeatButtonInteractor (IlUShort button=((IlUShort) 0x0001), IlvApplyObject action=0, IlAny arg=0) | |
| Constructor. | |
| IlUInt | getPeriod () const |
| Returns the interactor period. | |
| void | setPeriod (IlUInt p) |
| Sets the repeat period of the interactor. | |
Button interactor with auto-repeat behavior.
Library: views
Use this class to make an object act like a repeating button. Such a button automatically repeats the action of the button, as if the user was pressing and releasing the mouse button repeatedly.
The registered name of this interactor is "RButton".
IlvButton. | IlvRepeatButtonInteractor::IlvRepeatButtonInteractor | ( | IlUShort | button = ((IlUShort) 0x0001), |
|
| IlvApplyObject | action = 0, |
|||
| IlAny | arg = 0 | |||
| ) |
Constructor.
Initializes a new instance of the IlvRepeatButtonInteractor class, setting a function to be called when the object is clicked.
| button | The mouse button that is used for the interaction. | |
| action | The user function called on a click. | |
| arg | The user argument. |
| IlUInt IlvRepeatButtonInteractor::getPeriod | ( | ) | const |
Returns the interactor period.
| void IlvRepeatButtonInteractor::setPeriod | ( | IlUInt | p | ) |
Sets the repeat period of the interactor.
| p | The new period in milliseconds. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.