~tony-badwolf/quickly/threaded_application

Viewing all changes in revision 538.

  • Committer: tony
  • Date: 2010-09-16 19:55:40 UTC
  • Revision ID: tony@tony-laptop-20100916195540-i9lgho9h5m9bjl8b
Threads are useful in gui applications. Without them slow processes freeze the GUI. This uses the node concept from erlang (quickly uses couchdb, couchdb uses erlang, I wondered why). It is implemented using python's Queue module. There is a bug catcher for exceptions in other threads. Contains example code to drive a progress bar, disable buttons when busy and show exception in threaded model. Demo code is clearly marked and can be removed to make a clean project. All threading code is "hidden" in helpers.py. Implemented as new template based on ubuntu_application.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: