93 #ifndef __vtkWidgetSet_h
94 #define __vtkWidgetSet_h
97 #include <vtkstd/vector>
125 virtual void SetEnabled(
int);
126 vtkBooleanMacro(Enabled,
int);
136 unsigned int GetNumberOfWidgets();
152 template <
class TW
idget >
153 void DispatchAction(TWidget *caller,
158 it != this->Widget.end() ; ++it)
160 TWidget *w =
static_cast<TWidget *
>(*it);
163 ((*w).*(action))(caller);
171 it != this->Widget.end() ; ++it)
173 TWidget *w =
static_cast<TWidget *
>(*it);
174 if (caller != w) ((*w).*(action))(caller);