From: Javier G. <xav...@ho...> - 2001-01-12 22:03:12
|
> Now, what to do? Should we go with the ESC keypress simulation to keep > compatibility with the past, or go without it for a cleaner, more elegant > code? I've got an idea to be it more elegant and also keep compability why not make set_window_close_hook() be set by default to function (if no other set_window_close_hook are called) that will simulate a ESC keypress. (that way we have backwards compability and also we let the user to use whatever function he wishes) I mean, the hook is at first active at an allegro function that simulates the esc keypress, but the user can change it to whatever function he wants isnt it good? |