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 __LIST_OPERATION__H__
21 #define __LIST_OPERATION__H__
32 GtkTreeViewColumn
*tvc_balance
;
35 gboolean tvc_is_visible
;
36 gboolean save_column_width
;
41 GtkWidget
*create_list_transaction(gint type
, gboolean
*pref_columns
);
42 GtkWidget
*create_list_import_transaction(gboolean enable_choose
);
44 gboolean
list_txn_column_id_isvisible(GtkTreeView
*treeview
, gint sort_id
);
46 Transaction
*list_txn_get_active_transaction(GtkTreeView
*treeview
);
48 void list_txn_set_save_column_width(GtkTreeView
*treeview
, gboolean save_column_width
);
49 void list_txn_sort_force(GtkTreeSortable
*sortable
, gpointer user_data
);
50 guint
list_txn_get_quicksearch_column_mask(GtkTreeView
*treeview
);