[KWWidgets] setting a command to vtkKWComboBoxWithLabel

Yumin Yuan yumin.yuan at kitware.com
Fri Jul 13 15:33:55 EDT 2007

On 7/13/07, kshivann at engineering.uiowa.edu
<kshivann at engineering.uiowa.edu> wrote:
> hi all,
>    i was trying to set a command to vtkKWComboBoxWithLabel. I guess
> it is as simple as SetCommand(this, "SelectionChangedCallback"), where
> in the function SelectionChangedCallback is a member function of
> pointer 'this'.

Make sure your "SelectionChangedCallback" function takes an argument
because the selected value is passed to the command.

::SelectionChangedCallback(const char* selValue)


More information about the KWWidgets mailing list