Next: The toggle.c program Up: Toggle Widgets Previous: Toggle Basics

Toggle Callbacks

Toggle Callbacks have the usual form. They are activated upon an XmNvalueChangedCallback.

void toggle_cbk(Widget w, XtPointer data, XmToggleCallbackStruct *cbk)

The XmToggleCallbackStruct has a boolean element set that is True if the Toggle is on.


Dave.Marshall@cm.cf.ac.uk
Tue May 24 16:52:56 BST 1994