GnuCash 7574033+
Loading...
Searching...
No Matches
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.
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.
void gnc_ui_new_account_window (GtkWindow *parent, QofBook *book, Account *parent_acct)
 Display a window for creating a new account.
void gnc_ui_new_account_with_types (GtkWindow *parent, QofBook *book, GList *valid_types)
 Display a window for creating a new account.
Modal
Account * gnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name)
 Display a modal window for creating a new account.
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.
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))
@ ACCT_TYPE_PAYABLE
A/P account type.
Definition Account.h:151
@ ACCT_TYPE_LIABILITY
liability (and asset) accounts indicate generic, generalized accounts that are none of the above.
Definition Account.h:119
@ ACCT_TYPE_CREDIT
The Credit card account is used to denote credit (e.g.
Definition Account.h:113

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

37#define account_type_has_auto_interest_charge(type) (((type) == ACCT_TYPE_CREDIT) || \
38((type) == ACCT_TYPE_LIABILITY) ||\
39((type) == ACCT_TYPE_PAYABLE))

◆ 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) || \
@ ACCT_TYPE_MUTUAL
Mutual Fund accounts will typically be shown in registers which show three columns: price,...
Definition Account.h:125
@ ACCT_TYPE_BANK
The bank account type denotes a savings or checking account held at a bank.
Definition Account.h:107
@ ACCT_TYPE_ASSET
asset (and liability) accounts indicate generic, generalized accounts that are none of the above.
Definition Account.h:116
@ ACCT_TYPE_RECEIVABLE
A/R account type.
Definition Account.h:149

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

41#define account_type_has_auto_interest_payment(type) (((type) == ACCT_TYPE_BANK) || \
42((type) == ACCT_TYPE_ASSET) || \
43((type) == ACCT_TYPE_MUTUAL) || \
44((type) == ACCT_TYPE_RECEIVABLE))

◆ 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.

46#define account_type_has_auto_interest_xfer(type) \
47( account_type_has_auto_interest_charge(type) || \
48account_type_has_auto_interest_payment(type) )