GnuCash
5.6-150-g038405b370+
|
"select" and "new" commodity windows More...
Go to the source code of this file.
Enumerations | |
enum | dialog_commodity_mode { DIAG_COMM_CURRENCY, DIAG_COMM_NON_CURRENCY, DIAG_COMM_NON_CURRENCY_SELECT, DIAG_COMM_ALL } |
The dialog commodity types are used to determine what commodity namespaces the currency dialog will present to a user. More... | |
Functions | |
Commodity Selection | |
gnc_commodity * | gnc_ui_select_commodity_modal_full (gnc_commodity *orig_sel, GtkWidget *parent, dialog_commodity_mode mode, const char *user_message, const char *cusip, const char *fullname, const char *mnemonic) |
Ask the user to select a commodity from the existing set of commodities. More... | |
gnc_commodity * | gnc_ui_select_commodity_modal (gnc_commodity *orig_sel, GtkWidget *parent, dialog_commodity_mode mode) |
Ask the user to select a commodity from the existing set of commodities. More... | |
Commodity Creation or Modification | |
gnc_commodity * | gnc_ui_new_commodity_modal_full (const char *name_space, GtkWidget *parent, const char *cusip, const char *fullname, const char *mnemonic, const char *user_symbol, int fraction) |
Ask the user to provide the information necessary to create a new commodity. More... | |
gnc_commodity * | gnc_ui_new_commodity_modal (const char *default_namespace, GtkWidget *parent) |
Ask the user to provide the information necessary to create a new commodity. More... | |
gboolean | gnc_ui_edit_commodity_modal (gnc_commodity *commodity, GtkWidget *parent) |
Given an existing commodity, uses the gnc_ui_build_commodity_dialog() routine to build a basic edit dialog, then fills in the price quote information at the bottom of the dialog. More... | |
Auxiliary Dialog Functions | |
void | gnc_ui_update_namespace_picker (GtkWidget *cbwe, const gchar *sel, dialog_commodity_mode mode) |
Given a combo box, fill in the known commodity namespaces and then select one. More... | |
gchar * | gnc_ui_namespace_picker_ns (GtkWidget *cbwe) |
Given a combo box, return the currently selected namespaces. More... | |
void | gnc_ui_update_commodity_picker (GtkWidget *cbwe, const gchar *name_space, const gchar *sel) |
Given a combo box, fill in all the known commodities for the specified namespace, and then select one. More... | |
"select" and "new" commodity windows
Definition in file dialog-commodity.h.