01:
02:
03:
04:
05:
06:
07:
08:
09: reloadables=[]
10:
11:
12:
13: from timesheet import finishesview as view,finishescon as controller
14:
15: view.box.connect("key-press-event",lambda *x: controller.on_box_key_press(*x))
16: view.box.connect("changed",lambda *x: controller.on_box_changed(*x))
17: for i,v in enumerate(view.listview):
18: v.connect("cursor-changed",
19: lambda *x: controller.on_view_cursor_changed(*x),i
20: )
21:
22: for i,c in enumerate(view.toggle):
23: c.connect("toggled",lambda *x: controller.on_toggle(*x),i)
24:
25:
26:
27: reloadables+=[controller]
28:
29:
30:
31: view.listview[0].show()
32: view.listview[1].show()
33:
34:
PyScore
A badly written regatta scoring programme in Python and PyGtk.
register
relational
standing
tabulate
timesheet
treemodel
utility
Copyright 2004, M.E.J.Draisey
This file is part of pyscore.
pyscore is free software; you can redistribute it and/or modify it under
the terms of the GNU General
Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
pyscore is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with pyscore; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Formatted with
GNU source-highlight:
http:// www.gnu.org/ software/ src-highlite