GnuCash c935c2f+
Loading...
Searching...
No Matches
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.
 
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
Accountgnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name)
 Display a modal window for creating a new account.
 
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.
 
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))

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) || \
((type) == ACCT_TYPE_RECEIVABLE))

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.