The informations about the user choice will be in gaby.PrintDict
For fields page: a list of field numbers
For records page: a list of records
For order page: a field number
For filesel and entry widgets: the text of the entry
For checkbox widgets: true or false (actually 0 or 1)
Misc comments:
The gaby python module is automatically loaded. (refer to its documentation) (actually it might be quicker to refer to existing plug-ins)
you shouldn't sys.exit(0), use 'raise' to abort
you should put the text strings through gaby.gettext so they are translated in the user language. The common way to do this:
>>> _ = gaby.gettext >>> f.write( _("Sample document") ) |