]>
Dogcows Code - chaz/homebank/blob - src/ui-widgets.h
c66fce3bb96e11142b0a8ce3c8a18d29616c47dd
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_WIDGETS_GTK_H__
21 #define __HB_WIDGETS_GTK_H__
23 typedef struct _hbtk__data HbKvData
;
35 GtkWidget
*make_label(gchar
*str
, gfloat xalign
, gfloat yalign
);
36 GtkWidget
*make_clicklabel(gchar
*id
, gchar
*str
);
37 GtkWidget
*make_label_group(gchar
*str
);
38 GtkWidget
*make_label_widget(gchar
*str
);
39 GtkWidget
*make_text(gfloat xalign
);
40 GtkWidget
*make_search(void);
41 GtkWidget
*make_string(GtkWidget
*label
);
42 GtkWidget
*make_image_button(gchar
*icon_name
, gchar
*tooltip_text
);
44 GtkWidget
*make_memo_entry(GtkWidget
*label
);
45 GtkWidget
*make_string_maxlength(GtkWidget
*label
, guint max_length
);
46 GtkWidget
*make_amount(GtkWidget
*label
);
47 GtkWidget
*make_exchange_rate(GtkWidget
*label
);
48 GtkWidget
*make_numeric(GtkWidget
*label
, gdouble min
, gdouble max
);
49 GtkWidget
*make_scale(GtkWidget
*label
);
50 GtkWidget
*make_long(GtkWidget
*label
);
51 GtkWidget
*make_year(GtkWidget
*label
);
52 GtkWidget
*make_cycle(GtkWidget
*label
, gchar
**items
);
53 GtkWidget
*make_daterange(GtkWidget
*label
, gboolean custom
);
55 void ui_label_set_integer(GtkLabel
*label
, gint value
);
58 gchar
*hbtk_get_label(HbKvData
*kvdata
, guint32 key
);
59 guint32
hbtk_combo_box_get_active_id (GtkComboBoxText
*combobox
);
60 void hbtk_combo_box_set_active_id (GtkComboBoxText
*combobox
, guint32 active_id
);
61 void hbtk_combo_box_text_append (GtkComboBoxText
*combobox
, guint32 key
, gchar
*text
);
62 GtkWidget
*hbtk_combo_box_new (GtkWidget
*label
);
63 GtkWidget
*hbtk_combo_box_new_with_data (GtkWidget
*label
, HbKvData
*kvdata
);
65 gint
hbtk_radio_get_active (GtkContainer
*container
);
66 void hbtk_radio_set_active (GtkContainer
*container
, gint active
);
67 GtkWidget
*hbtk_radio_get_nth (GtkContainer
*container
, gint nth
);
68 void hbtk_radio_connect(GtkContainer
*container
, const gchar
*detailed_signal
, GCallback c_handler
, gpointer data
);
69 GtkWidget
*hbtk_radio_new (gchar
**items
, gboolean buttonstyle
);
72 void gimp_label_set_attributes (GtkLabel
*label
, ...);
75 void hb_widget_visible(GtkWidget
*widget
, gboolean visible
);
76 void ui_gtk_entry_tag_name_append(GtkEntry
*entry
, gchar
*tagname
);
77 void ui_gtk_entry_set_text(GtkWidget
*widget
, gchar
*text
);
78 void ui_gtk_entry_replace_text(GtkWidget
*widget
, gchar
**storage
);
80 GtkWidget
*make_nainex(GtkWidget
*label
);
83 guint make_popaccount_populate(GtkComboBox *combobox, GList *srclist);
84 GtkWidget *make_popaccount(GtkWidget *label);
86 guint make_poppayee_populate(GtkComboBox *combobox, GList *srclist);
87 GtkWidget *make_poppayee(GtkWidget *label);
89 guint make_poparchive_populate(GtkComboBox *combobox, GList *srclist);
90 GtkWidget *make_poparchive(GtkWidget *label);
92 guint make_popcategory_populate(GtkComboBox *combobox, GList *srclist);
93 GtkWidget *make_popcategory(GtkWidget *label);
97 gchar
*get_paymode_icon_name(gint index
);
98 GtkWidget
*make_paymode(GtkWidget
*label
);
99 GtkWidget
*make_paymode_nointxfer(GtkWidget
*label
);
100 GtkWidget
*make_nainex(GtkWidget
*label
);
This page took 0.039359 seconds and 4 git commands to generate.