Description
Set the callback function used when the send or sendandddismiss
button is pressed in the gui. It also activates those buttons.
The callback function gets one argument which is a string containing
the full name of the selected file. If no file is selected, the
directory is returned.
When the break button is pressed in the gui, the selectcallback
function is called with the argument unset(). Thereafter the
the selectcallback is unset.
If the argument given to setselectcallback is not a function, the
selectcallback is unset.