mike driscoll szgupvesgcomarshalliaus alex denham wrote hi im wondering try accessupdate anything tkinter gui one particular function whole program crashesfreezes error function part class handles gui drawingevent handling etc function question gets called win32 designatedwrappolicy class sample code code function part idroptarget class targetwidget definined __init__ method functoin points class handles gui def dropself data_object key_state point effect data data_objectgetdata15 none 1 1 1 print data n_files shelldragqueryfilewdatadata_handle 1 print n_files filenames shelldragqueryfilewdatadata_handle n_file n_file rangen_files print filenames selftargetwidgetfilesdroppedfilenames calls filesdropped function targetwidget class passes filename list function part gui class inherits tkintertoplevel print commands work however uncomment clearinput function calls selffilepathinputdelete0 end clear text program hangs second commented line anything else requires call tk appears sort conflict going win32 tk def filesdroppedself filelist print filelist selfclearinput selffilepathinputinserttkinterend filelist0 code im wondering theres something need release gui im pretty sure got nothing code elsewhere working smoothly call filesdropped function somewhere else idroptarget class dont issues thanks advance alex guess usually update gui outside process directly least true wxpython think blocking idle event tkinter causes hang try update tkinter crashes youre making call amounts separate thread instead ought write file post event win32 part finished tkinter gui check periodically react words win32 portion code write something file tkinter check file every seconds update finds something wxpython way subscribe special events using pubsub module tkinter probably nomenclature cant figure id recommend tkinter mailing list mike _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 thu 07 aug 2008 214427 0500 pythonwin32 subject