RFC: refactoring window-register as widget-register + containing window
Derek Atkins
warlord@MIT.EDU
25 Nov 2001 20:03:11 -0500
Dave Peticolas <dave@krondo.com> writes:
> You register one "date" cell, although this specific example is moot
> since there already is a date cell. You need the FOO_CELL definitions
> in split-ledger.h so that you know what specific date/amount/text/etc.
> is being stored in a cell, i.e., is it the posted date or the entered
> date or the recociled date, or what?
One would think this could be set not by the name but by the
cell-layout definition. I mean, somewhere you need to set that
DATE_CELL ->
Date widget
xaccTransSetDateEnteredTS
...
DATE_DUE ->
Date widget
xaccTransSetDateDueTS
...
It seems kind of silly to reference everything by name. But
perhaps that's just me -- I guess it means you don't need
to maintain a bunch of structures all over the place.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available