GnuCash  5.6-150-g038405b370+
Macros | Functions
dialog-account.h File Reference

This file contains the functions to present a gui to the user for creating a new account or editing an existing account. More...

#include "Account.h"

Go to the source code of this file.

Macros

#define account_type_has_auto_interest_charge(type)
 
#define account_type_has_auto_interest_payment(type)
 
#define account_type_has_auto_interest_xfer(type)
 

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
Accountgnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name)
 Display a modal window for creating a new account. More...
 
Accountgnc_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 *))
 

Detailed Description

This file contains the functions to present a gui to the user for creating a new account or editing an existing account.

Dialog for create/edit an account.

Author
Copyright (C) 1997 Robin D. Clark
Copyright (C) 2000 Dave Peticolas

Definition in file dialog-account.h.

Macro Definition Documentation

◆ account_type_has_auto_interest_charge

#define account_type_has_auto_interest_charge (   type)
Value:
(((type) == ACCT_TYPE_CREDIT) || \
((type) == ACCT_TYPE_LIABILITY) ||\
((type) == ACCT_TYPE_PAYABLE))
A/P account type.
Definition: Account.h:151
liability (and asset) accounts indicate generic, generalized accounts that are none of the above...
Definition: Account.h:119
The Credit card account is used to denote credit (e.g.
Definition: Account.h:113

Definition at line 37 of file dialog-account.h.

◆ account_type_has_auto_interest_payment

#define account_type_has_auto_interest_payment (   type)
Value:
(((type) == ACCT_TYPE_BANK) || \
((type) == ACCT_TYPE_ASSET) || \
((type) == ACCT_TYPE_MUTUAL) || \
Mutual Fund accounts will typically be shown in registers which show three columns: price...
Definition: Account.h:125
The bank account type denotes a savings or checking account held at a bank.
Definition: Account.h:107
asset (and liability) accounts indicate generic, generalized accounts that are none of the above...
Definition: Account.h:116
A/R account type.
Definition: Account.h:149

Definition at line 41 of file dialog-account.h.

◆ account_type_has_auto_interest_xfer

#define account_type_has_auto_interest_xfer (   type)
Value:
( account_type_has_auto_interest_charge(type) || \
account_type_has_auto_interest_payment(type) )

Definition at line 46 of file dialog-account.h.