Callback Generation Option Menu

The "Generation" option menu next to the "Flavor" option menu allows you to choose what is generated for your callback.

The choices are:

Choosing "All" will generate the call to the toolkit to register the callback (XtAddCallback) and the stub routine for the callback. You may wish to select "Register only" if the callback is already defined in an external library. This may be the case if you are updating legacy code or migrating from another GUI builder, for example. Choosing "Stub only" is useful if you wish to register the callback at a later point in your application code.

The default for this menu is whatever option is selected from the equivalent "Callbacks" menu in the Code Generation Options dialog, described in the "Code Generation Options" section of the "Generating Code" chapter of the main User's Guide. If an option has been selected for an individual callback in this dialog, it will override the more general option in the Code Generation Options dialog.

See also: