01:
02:
03:
04:
05:
06:
07:
08:
09: reloadables=[]
10:
11:
12:
13: import sys,os
14: import gtk,gtk.glade,gobject
15: from timesheet import guiview,guicon
16:
17:
18:
19: for (i,eb) in enumerate(guiview.entrybox):
20:
21: eb.connect("focus-in-event",
22: lambda *x: guicon.on_focus_entrywidget(*x),i,i,
23: )
24:
25:
26:
27: guiview.entryview.connect("focus-in-event",
28: lambda *x: guicon.on_focus_entrywidget(*x),None,4)
29:
30: for (i,cv) in enumerate(guiview.compview):
31:
32: cv.connect("focus-in-event",lambda *x: guicon.on_focus_page(*x),i)
33:
34:
35: guiview.summary.connect("focus-in-event",
36: lambda *x: guicon.on_focus_summary(*x)
37: )
38:
39: guiview.compbook.set_current_page(4)
40: guiview.entryview.grab_focus()
41:
42:
43:
44: reloadables+=[guicon]
45:
46:
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