GnuCash
5.6-150-g038405b370+
|
Files | |
file | dialog-account.h |
This file contains the functions to present a gui to the user for creating a new account or editing an existing account. | |
Functions | |
void | gnc_account_renumber_create_dialog (GtkWidget *window, Account *account) |
void | gnc_account_cascade_properties_dialog (GtkWidget *window, Account *account) |
Non-Modal | |
void | gnc_ui_edit_account_window (GtkWindow *parent, Account *account) |
Display a window for editing the attributes of an existing account. More... | |
void | gnc_ui_new_account_with_types_and_commodity (GtkWindow *parent, QofBook *book, GList *valid_types, gnc_commodity *) |
Display a window for creating a new account. More... | |
void | gnc_ui_new_account_window (GtkWindow *parent, QofBook *book, Account *parent_acct) |
Display a window for creating a new account. More... | |
void | gnc_ui_new_account_with_types (GtkWindow *parent, QofBook *book, GList *valid_types) |
Display a window for creating a new account. More... | |
Modal | |
Account * | gnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name) |
Display a modal window for creating a new account. More... | |
Account * | gnc_ui_new_accounts_from_name_with_defaults (GtkWindow *parent, const char *name, GList *valid_types, const gnc_commodity *default_commodity, Account *parent_acct) |
Display a modal window for creating a new account. More... | |
void | gnc_ui_register_account_destroy_callback (void(*cb)(Account *)) |
void gnc_ui_edit_account_window | ( | GtkWindow * | parent, |
Account * | account | ||
) |
Display a window for editing the attributes of an existing account.
parent | The widget on which to parent the dialog. |
account | This parameter specifies the account whose data will be edited. |
Definition at line 2098 of file dialog-account.c.
void gnc_ui_new_account_window | ( | GtkWindow * | parent, |
QofBook * | book, | ||
Account * | parent_acct | ||
) |
Display 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.
parent | The widget on which to parent the dialog. |
book | The book in which the new account should be created. This is a required argument. |
parent_acct | The initially selected parent account. This argument is optional, but if supplied must be an account contained in the specified book. |
Definition at line 2174 of file dialog-account.c.
void gnc_ui_new_account_with_types | ( | GtkWindow * | parent, |
QofBook * | book, | ||
GList * | valid_types | ||
) |
Display a window for creating a new account.
This function will restrict the available account type values to the list specified by the caller.
parent | The widget on which to parent the dialog. |
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. |
void gnc_ui_new_account_with_types_and_commodity | ( | GtkWindow * | parent, |
QofBook * | book, | ||
GList * | valid_types, | ||
gnc_commodity * | |||
) |
Display a window for creating a new account.
This function will restrict the available account type values to the list specified by the caller.
parent | The widget on which to parent the dialog. |
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. |
default_commodity | A gnc_commodity* to specify the default commodity to create. May be NULL. |
Definition at line 2160 of file dialog-account.c.
Account* gnc_ui_new_accounts_from_name_window | ( | GtkWindow * | parent, |
const char * | name | ||
) |
Display a modal window for creating a new account.
parent | The widget on which to parent the dialog. |
name | The account name/path to be created. This parameter is not used for determining the initially selected parent account. |
Definition at line 2004 of file dialog-account.c.
Account* gnc_ui_new_accounts_from_name_with_defaults | ( | GtkWindow * | parent, |
const char * | name, | ||
GList * | valid_types, | ||
const gnc_commodity * | default_commodity, | ||
Account * | parent_acct | ||
) |
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.
parent | The widget on which to parent the dialog. |
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_acct | The initially selected parent account. |
Definition at line 2011 of file dialog-account.c.