Amount editor widget

Derek Atkins warlord at MIT.EDU
Fri Dec 15 16:41:48 EST 2006


Quoting micwise at bellsouth.net:

>> What, you mean the Currency selector?
>>
>>
>> -derek
>>
> The Currency seclector, Default hours per day, and Default rate all 
> seem to be created outside of the glade file.  In the 
> dialog-employee.c, default hours and defautl rate reference 
> GNC_AMOUNT_EDIT and currency references GNC_CURRENCY_EDIT.  I'm 
> trying to learn how everthing works and was wondering what these do.

They do what you'd intuitively think they'd do.  The GNC_CURRENCY_EDIT
is a selector that chooses a gnc_commodity, but limits you to choosing
one of the ISO Currencies.  A GNC_AMOUNT_EDIT is a widget to let the
user input a gnc_numeric amount.

These widgets are in src/gnome-utils.

> MIchael

-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 at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list