GnuCash
5.6-150-g038405b370+
|
Files | |
file | gnc-currency-edit.h |
Currency selection widget. | |
Data Structures | |
struct | _GNCCurrencyEdit |
Basic Object Implementation | |
enum | { PROP_0, PROP_GCE_MNEMONIC, N_PROPERTIES } |
enum | { CURRENCY_COL_NAME, CURRENCY_COL_NORMALIZED_FOLDED, NUM_CURRENCY_COLS } |
GtkWidget * | gnc_currency_edit_new (void) |
Create a new GNCCurrencyEdit widget which can be used to provide an easy way to enter ISO currency codes. More... | |
Get/Set Functions | |
void | gnc_currency_edit_set_currency (GNCCurrencyEdit *gce, const gnc_commodity *currency) |
Set the widget to display a certain currency name. More... | |
gnc_commodity * | gnc_currency_edit_get_currency (GNCCurrencyEdit *gce) |
Retrieve the displayed currency of the widget. More... | |
void | gnc_currency_edit_clear_display (GNCCurrencyEdit *gce) |
Clear the displayed currency of the widget. More... | |
Basic Object Implementation | |
#define | GNC_TYPE_CURRENCY_EDIT (gnc_currency_edit_get_type()) |
void gnc_currency_edit_clear_display | ( | GNCCurrencyEdit * | gce | ) |
Clear the displayed currency of the widget.
This will clear the currency being displayed just like when first created but it still returns the default currency as usual
gce | The currency editor widget whose values should be retrieved. |
Definition at line 458 of file gnc-currency-edit.cpp.
gnc_commodity * gnc_currency_edit_get_currency | ( | GNCCurrencyEdit * | gce | ) |
Retrieve the displayed currency of the widget.
gce | The currency editor widget whose values should be retrieved. |
Definition at line 417 of file gnc-currency-edit.cpp.
GtkWidget * gnc_currency_edit_new | ( | void | ) |
Create a new GNCCurrencyEdit widget which can be used to provide an easy way to enter ISO currency codes.
Definition at line 344 of file gnc-currency-edit.cpp.
void gnc_currency_edit_set_currency | ( | GNCCurrencyEdit * | gce, |
const gnc_commodity * | currency | ||
) |
Set the widget to display a certain currency name.
gce | The currency editor widget to set. |
currency | The currency to set as the displayed/selected value of the widget. |
Definition at line 395 of file gnc-currency-edit.cpp.