]>
Dogcows Code - chaz/homebank/blob - src/ui-account.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2016 Maxime DOYEN
4 * This file is part of HomeBank.
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * HomeBank is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __HB_ACCOUNT_GTK_H__
21 #define __HB_ACCOUNT_GTK_H__
32 ACC_LST_INSERT_NORMAL
,
37 gchar
*ui_acc_comboboxentry_get_name(GtkComboBox
*entry_box
);
38 guint32
ui_acc_comboboxentry_get_key(GtkComboBox
*entry_box
);
39 gboolean
ui_acc_comboboxentry_set_active(GtkComboBox
*entry_box
, guint32 key
);
40 void ui_acc_comboboxentry_add(GtkComboBox
*entry_box
, Account
*acc
);
41 void ui_acc_comboboxentry_populate(GtkComboBox
*entry_box
, GHashTable
*hash
, gint insert_type
);
42 void ui_acc_comboboxentry_populate_except(GtkComboBox
*entry_box
, GHashTable
*hash
, guint except_key
, gint insert_type
);
43 GtkWidget
*ui_acc_comboboxentry_new(GtkWidget
*label
);
45 /* = = = = = = = = = = */
47 void ui_acc_listview_add(GtkTreeView
*treeview
, Account
*item
);
48 guint32
ui_acc_listview_get_selected_key(GtkTreeView
*treeview
);
49 void ui_acc_listview_remove_selected(GtkTreeView
*treeview
);
50 void ui_acc_listview_populate(GtkWidget
*view
, gint insert_type
);
51 GtkWidget
*ui_acc_listview_new(gboolean withtoggle
);
53 /* = = = = = = = = = = */
65 //todo: for stock account
79 struct ui_acc_manage_data
89 GtkWidget
*BT_add
, *BT_rem
;
98 GtkWidget
*CM_nosummary
;
99 GtkWidget
*CM_nobudget
;
100 GtkWidget
*CM_noreport
;
101 GtkWidget
*CM_closed
;
102 GtkWidget
*ST_initial
;
103 GtkWidget
*ST_warning
;
104 GtkWidget
*ST_overdraft
;
105 GtkWidget
*ST_cheque1
;
106 GtkWidget
*ST_cheque2
;
121 GtkWidget
*ui_acc_manage_dialog (void);
This page took 0.049342 seconds and 5 git commands to generate.