FX::FXApplyResetList Class Reference

#include <FXPrimaryButton.h>

Inheritance diagram for FX::FXApplyResetList:

FX::FXHandedDialog FX::FXHandedPopup FX::FXExceptionDialog FX::FXHandedMsgBox List of all members.

Detailed Description

A list of widgets which understand the 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)));

See also:
FX::FXPrimaryButton

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 ()


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:35 2009 for TnFOX by doxygen v1.4.7