[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnuef/src GFInstance.py
From: |
James Thompson |
Subject: |
gnue/gnuef/src GFInstance.py |
Date: |
Thu, 02 Aug 2001 21:57:35 -0700 |
CVSROOT: /cvs
Module name: gnue
Changes by: James Thompson <address@hidden> 01/08/02 21:57:35
Modified files:
gnuef/src : GFInstance.py
Log message:
Added a working file-print
to use add a trigger to a form named 'process-printout' containing what
you
require to produce the output
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFInstance.py.diff?cvsroot=OldCVS&tr1=1.19&tr2=1.20&r1=text&r2=text
Patches:
Index: gnue/gnuef/src/GFInstance.py
diff -u gnue/gnuef/src/GFInstance.py:1.19 gnue/gnuef/src/GFInstance.py:1.20
--- gnue/gnuef/src/GFInstance.py:1.19 Thu Aug 2 20:02:28 2001
+++ gnue/gnuef/src/GFInstance.py Thu Aug 2 21:57:35 2001
@@ -34,7 +34,7 @@
#
# Copyright (c) 2000 Free Software Foundation
#
-# $Id: GFInstance.py,v 1.19 2001/08/03 03:02:28 jamest Exp $
+# $Id: GFInstance.py,v 1.20 2001/08/03 04:57:35 jamest Exp $
#
import pstats
@@ -309,11 +309,14 @@
# executePrintout
#
# If the form has a trigger named process-printout then fire it
- # TODO: you should probably do something else as a default if trigger not
available
#
def executePrintout(self,event):
- pass
-
+ if self._form._triggerDictionary.has_key('process-printout'):
+ self._form.fireTrigger('process-printout')
+ else:
+ # TODO: should probably do something else as a default if trigger not
available
+ # TODO: like a screen print
+ pass
#
# executeRollback
#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnuef/src GFInstance.py,
James Thompson <=