cancel

The "cancel" signal is fired when the Escape key is pressed.

The internal functions called when this signal is emitted cancel the current selection, deactivate the menu, and fire the "selection-done" signal.

It is, however, possible to add to the functions that this signal already invokes.

Callback function

void callback(GtkWidget menu);