]>
Dogcows Code - chaz/homebank/blob - src/ui-transaction.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 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_TRANSACTION_GTK_H__
21 #define __HB_TRANSACTION_GTK_H__
26 /* official GTK_RESPONSE are negative */
27 #define HB_RESPONSE_ADD 1
28 #define HB_RESPONSE_ADDKEEP 2
37 struct deftransaction_data
45 GtkWidget
*ST_amount
, *BT_split
;
51 GtkWidget
*LB_accfrom
, *PO_acc
;
52 GtkWidget
*LB_accto
, *PO_accto
;
53 GtkWidget
*ST_tags
, *CY_tags
;
56 GtkWidget
*IB_warnsign
;
59 GtkWidget
*MB_template
;
61 GtkTreeModelFilter
*modelfilter
;
63 GtkWidget
*CM_showsched
;
64 GtkWidget
*CM_showallacc
;
71 gboolean showtemplate
;
85 GtkWidget
*create_deftransaction_window (GtkWindow
*parent
, gint type
, gboolean postmode
, guint32 kacc
);
86 void deftransaction_set_amount(GtkWidget
*widget
, gdouble amount
);
87 gint
deftransaction_external_edit(GtkWindow
*parent
, Transaction
*old_txn
, Transaction
*new_txn
);
88 void deftransaction_set_transaction(GtkWidget
*widget
, Transaction
*ope
);
89 void deftransaction_get (GtkWidget
*widget
, gpointer user_data
);
90 void deftransaction_add (GtkWidget
*widget
, gpointer user_data
);
91 void deftransaction_dispose(GtkWidget
*widget
, gpointer user_data
);
92 void deftransaction_set_amount_from_split(GtkWidget
*widget
, gdouble amount
);
This page took 0.035136 seconds and 4 git commands to generate.