GnuCash
2.6.99
|
Files | |
file | dialog-account.h |
Dialog for create/edit an account. | |
Functions | |
void | gnc_account_renumber_create_dialog (GtkWidget *window, Account *account) |
Non-Modal | |
void | gnc_ui_edit_account_window (Account *account) |
void | gnc_ui_new_account_window (QofBook *book, Account *parent) |
void | gnc_ui_new_account_with_types (QofBook *book, GList *valid_types) |
Modal | |
Account * | gnc_ui_new_accounts_from_name_window (const char *name) |
Account * | gnc_ui_new_accounts_from_name_window_with_types (const char *name, GList *valid_types) |
Account * | gnc_ui_new_accounts_from_name_with_defaults (const char *name, GList *valid_types, const gnc_commodity *default_commodity, Account *parent) |
void | gnc_ui_register_account_destroy_callback (void(*cb)(Account *)) |
void gnc_ui_edit_account_window | ( | Account * | account | ) |
Disply a window for editing the attributes of an existing account.
account | This parameter specifies the account whose data will be edited. |
Definition at line 1792 of file dialog-account.c.
Disply a window for creating a new account. This function will also initially set the parent account of the new account to what the caller specified. The user is free, however, to choose any parent account they wish.
book | The book in which the new account should be created. This is a required argument. |
parent | The initially selected parent account. This argument is optional, but if supplied must be an account contained in the specified book. |
Definition at line 1859 of file dialog-account.c.
void gnc_ui_new_account_with_types | ( | QofBook * | book, |
GList * | valid_types | ||
) |
Disply a window for creating a new account. This function will restrict the available account type values to the list specified by the caller.
book | The book in which the new account should be created. This is a required argument. |
valid_types | A GList of GNCAccountType gints [as pointers] which are allowed to be created. The calling function is responsible for freeing this list. |
Definition at line 1869 of file dialog-account.c.
Account* gnc_ui_new_accounts_from_name_window | ( | const char * | name | ) |
Disply a modal window for creating a new account
name | The account name/path to be created. This parameter is not used for determining the initially selected parent account. |
Definition at line 1695 of file dialog-account.c.
Account* gnc_ui_new_accounts_from_name_window_with_types | ( | const char * | name, |
GList * | valid_types | ||
) |
Disply a modal window for creating a new account. This function will restrict the available account type values to the list specified by the caller.
name | The account name/path to be created. This parameter is not used for determining the initially selected parent account. |
valid_types | A GList of GNCAccountType gints [as pointers] which are allowed to be created. The calling function is responsible for freeing this list. |
Definition at line 1701 of file dialog-account.c.
Account* gnc_ui_new_accounts_from_name_with_defaults | ( | const char * | name, |
GList * | valid_types, | ||
const gnc_commodity * | default_commodity, | ||
Account * | parent | ||
) |
Display a modal window for creating a new account. This function will restrict the available account type values to the list specified by the caller.
name | The account name/path to be created. This parameter is not used for determining the initially selected parent account. |
valid_types | A GList of GNCAccountType gints [as pointers] which are allowed to be created. The calling function is responsible for freeing this list. |
default_commodity | The commodity to initially select when the dialog is presented. |
parent | The initially selected parent account. |
Definition at line 1708 of file dialog-account.c.