]>
Dogcows Code - chaz/homebank/blob - src/ui-assign.h
1 /* HomeBank -- Free, easy, personal rulounting for everyone.
2 * Copyright (C) 1995-2018 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_ASSIGN_GTK_H__
21 #define __HB_ASSIGN_GTK_H__
30 gchar
*ui_asg_comboboxentry_get_name(GtkComboBox
*entry_box
);
31 guint32
ui_asg_comboboxentry_get_key(GtkComboBox
*entry_box
);
32 gboolean
ui_asg_comboboxentry_set_active(GtkComboBox
*entry_box
, guint32 key
);
33 void ui_asg_comboboxentry_add(GtkComboBox
*entry_box
, Assign
*asg
);
34 void ui_asg_comboboxentry_populate(GtkComboBox
*entry_box
, GHashTable
*hash
);
35 void ui_asg_comboboxentry_populate_except(GtkComboBox
*entry_box
, GHashTable
*hash
, guint except_key
);
36 GtkWidget
*ui_asg_comboboxentry_new(GtkWidget
*label
);
38 /* = = = = = = = = = = */
40 void ui_asg_listview_add(GtkTreeView
*treeview
, Assign
*item
);
41 guint32
ui_asg_listview_get_selected_key(GtkTreeView
*treeview
);
42 void ui_asg_listview_remove_selected(GtkTreeView
*treeview
);
43 void ui_asg_listview_populate(GtkWidget
*view
);
44 GtkWidget
*ui_asg_listview_new(gboolean withtoggle
);
46 /* = = = = = = = = = = */
48 struct ui_asg_manage_data
58 GtkWidget
*BT_add
, *BT_rem
;
60 GtkWidget
*GR_condition
;
66 GtkWidget
*GR_assignment
;
92 GtkWidget
*ui_asg_manage_dialog (void);
This page took 0.041442 seconds and 4 git commands to generate.