Mercurial > getan
view getan.py @ 199:3fa4ab9146dd
Implement three phase user input handling
First the state is able to filter keys. Afterwards the MainLoop widget is
allowed to act on keypress. At last the state is allowed to react on keys.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 19:29:33 +0200 |
parents | 6df408534f3f |
children | 999a438474f2 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- # # (c) 2010 by Ingo Weinzierl <ingo.weinzierl@intevation.de> # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de> # # A python worklog-alike to log what you have 'getan' (done). # # This is Free Software licensed under the terms of GPLv3 or later. # For details see LICENSE coming with the source of 'getan'. # from getan.main import main main()