]> Dogcows Code - chaz/homebank/blob - src/ui-tag.h
import homebank-5.2.7
[chaz/homebank] / src / ui-tag.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
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.
10 *
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.
15 *
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/>.
18 */
19
20 #ifndef __HB_TAG_GTK_H__
21 #define __HB_TAG_GTK_H__
22
23
24 enum
25 {
26 LST_DEFTAG_TOGGLE,
27 LST_DEFTAG_DATAS,
28 NUM_LST_DEFTAG
29 };
30
31
32 struct ui_tag_manage_dialog_data
33 {
34 GtkWidget *window;
35
36 GtkWidget *ST_name;
37 GtkWidget *LV_tag;
38
39 GtkWidget *BT_add;
40 GtkWidget *BT_edit;
41 GtkWidget *BT_delete;
42
43 gint change;
44 };
45
46
47 struct ui_tag_dialog_data
48 {
49 GtkWidget *dialog;
50
51 };
52
53 /* = = = = = = = = = = */
54
55
56 void ui_tag_combobox_populate(GtkComboBoxText *combobox);
57 GtkWidget *ui_tag_combobox_new(GtkWidget *label);
58
59 GtkWidget *
60 ui_tag_popover_list(GtkWidget *entry);
61
62 /* = = = = = = = = = = */
63
64 void ui_tag_listview_add(GtkTreeView *treeview, Tag *item);
65 guint32 ui_tag_listview_get_selected_key(GtkTreeView *treeview);
66 void ui_tag_listview_remove_selected(GtkTreeView *treeview);
67 void ui_tag_listview_populate(GtkWidget *view, gint insert_type);
68 GtkWidget *ui_tag_listview_new(gboolean withtoggle);
69
70 GtkWidget *ui_tag_manage_dialog (void);
71
72
73 #endif
This page took 0.03318 seconds and 4 git commands to generate.