27#ifndef GNC_AMOUNT_EDIT_H
28#define GNC_AMOUNT_EDIT_H
39#define GNC_TYPE_AMOUNT_EDIT (gnc_amount_edit_get_type ())
40G_DECLARE_FINAL_TYPE (GNCAmountEdit, gnc_amount_edit, GNC, AMOUNT_EDIT, GtkBox)
51GtkWidget *gnc_amount_edit_new (
void);
59GtkWidget *gnc_amount_edit_gtk_entry (GNCAmountEdit *gae);
68void gnc_amount_edit_set_amount (GNCAmountEdit *gae,
78void gnc_amount_edit_set_damount (GNCAmountEdit *gae,
89gnc_numeric gnc_amount_edit_get_amount (GNCAmountEdit *gae);
99double gnc_amount_edit_get_damount (GNCAmountEdit *gae);
119gint gnc_amount_edit_expr_is_valid (GNCAmountEdit *gae,
137gboolean gnc_amount_edit_evaluate (GNCAmountEdit *gae, GError **error);
146void gnc_amount_edit_set_print_info (GNCAmountEdit *gae,
156void gnc_amount_edit_set_fraction (GNCAmountEdit *gae,
int fraction);
165void gnc_amount_edit_set_evaluate_on_enter (GNCAmountEdit *gae,
166 gboolean evaluate_on_enter);
175void gnc_amount_edit_set_validate_on_change (GNCAmountEdit *gae,
176 gboolean validate_on_change);
186void gnc_amount_edit_select_region (GNCAmountEdit *gae,
197void gnc_amount_edit_show_warning_symbol (GNCAmountEdit *gae, gboolean show);
206void gnc_amount_edit_make_mnemonic_target (GNCAmountEdit *gae, GtkWidget *label);
utility functions for the GnuCash UI