File: gsb_fyear.h

package info (click to toggle)
grisbi 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,808 kB
  • sloc: ansic: 161,477; sh: 4,559; makefile: 918; xml: 580; perl: 370
file content (37 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _GSB_FYEAR_H
#define _GSB_FYEAR_H (1)

#include <gtk/gtk.h>

enum fyear_list_columns {
    FYEAR_COL_NAME = 0,
    FYEAR_COL_NUMBER,
    FYEAR_COL_VIEW
};


/* START_INCLUDE_H */
/* END_INCLUDE_H */

/* START_DECLARATION */
gint		gsb_fyear_get_fyear_from_combobox	(GtkWidget *combo_box,
												 const GDate *date);
gboolean	gsb_fyear_hide_iter_by_name			(GtkTreeModel *model,
												 gchar *name);
void		gsb_fyear_init_variables			(void);
GtkWidget *	gsb_fyear_make_combobox				(gboolean set_automatic);
GtkWidget *	gsb_fyear_make_combobox_new			(GtkTreeModel *model,
                        						 gboolean set_automatic);
gboolean	gsb_fyear_select_iter_by_number		(GtkWidget *combo_box,
                        						 GtkTreeModel *model,
                        						 GtkTreeModel *model_filter,
                        						 gint fyear_number);
gboolean	gsb_fyear_set_automatic				(gboolean set_automatic);
gboolean 	gsb_fyear_set_combobox_history		(GtkWidget *combo_box,
                        						 gint fyear_number);
gboolean	gsb_fyear_update_fyear_list			(void);
gboolean	gsb_fyear_update_fyear_list_new		(GtkTreeModel *model,
                        						 GtkTreeModel *model_filter,
                        						 gchar *title);
/* END_DECLARATION */
#endif