Callbacks

In ProXT, callbacks are specified as Prolog goals. The number of arguments in a goal is the same as the number of arguments in the corresponding type of C callback functions. For example, the widget callback goals are of arity 3 with arguments +Widget, +ClientData and +CallData.