The "cancel-position" signal is emitted when the Esc key is pressed while paned has the focus.
Callback function