[java-gnome-hackers] Widget delete_event and destroy_event
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2004-02-28 21:58:20
|
One final thing to panic about before the api freeze.. I've always been confused about this so it could just be a case of me not understanding. If the user closes a window, how does the application pop up a window saying "unsaved changed : save/discard/cancel" ? AFAICT, we can't do this in java-gnome. In the past, I thought we needed to send a boolean return value to either delete_event or destroy_event - indeed, they are boolean functions. In Widget.java, we just return true and false (why?) - I suspect this is wrong I can't find any documentation about these signals at the moment though. grep -r delete_event gtk/* finds two functions which I don't really understand grep for destroy_event returns nothing! -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |