void user_dg_process_message(void *user, window *win, FILE *write_to)
The user has to process whatever user-defined messages are sent to the process. A write-to pipe to the wish process is provided so that the user can directly issue commands there.