Im just now unearthing old mail...

It's been rumoured that Jeremy Collins said:
> 
> Anyway, in the register code I noticed that every "basiccell" has an
> enter_cell callback that you can attach to.  Where is this getting set?

see basiccell.h for docs; the callbacks are initialized by the constructor 
for the cell. See recncell.c for the simplest example, pricecell.c for a more
complex example.

> Also I noticed there is an enter_update function.  Could you give me an
> example of when you would enter a cell 

one "enters" a cell by mouse-clicking on it or by tabbing to it or using arrows keys to
get to it; generically by "traversing" to it.


> and it would already need to be
> updated?

The cell may want to know that its been entered. e.g.  the reconcile cell 
cheanges value every time its clicked on.

--linas

----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to