#include <FXPrimaryButton.h>
Inheritance diagram for FX::FXApplyResetList:
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)));
Definition at line 52 of file FXPrimaryButton.h.
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 () |
Protected Member Functions | |
FXApplyResetList () |