#include <FXPrimaryButton.h>

SEL_APPLY and SEL_RESET commands.
This is a convenience class to make dispatching the above messages easier. It's easiest to use by multiple inheritance and you simply supply the address of onApply() and onReset() in your FXDEFMAP(). Adding apply/reset capable widgets is especially easy with the templated addApplyReset() like as follows:
FXERRHM(tdata=addApplyReset(new TTaggedDataBox(this)));
Public Member Functions | |
| long | onApply (FXObject *, FXSelector, void *) |
| long | onReset (FXObject *, FXSelector, void *) |
| template<typename type> | |
| type * | addApplyReset (type *widget) |
| void | removeApplyReset (FXWindow *widget) |
| void | clearApplyReset () |
| long FX::FXApplyResetList::onApply | ( | FXObject * | , | |
| FXSelector | , | |||
| void * | ||||
| ) |
Dispatches the SEL_APPLY command to all widgets in its list.
| long FX::FXApplyResetList::onReset | ( | FXObject * | , | |
| FXSelector | , | |||
| void * | ||||
| ) |
Dispatches the SEL_RESET command to all widgets in its list.
| type* FX::FXApplyResetList::addApplyReset | ( | type * | widget | ) | [inline] |
Adds a widget to the list.
| void FX::FXApplyResetList::removeApplyReset | ( | FXWindow * | widget | ) | [inline] |
Removes a widget from the list.
| void FX::FXApplyResetList::clearApplyReset | ( | ) | [inline] |
v1.5.6