axmap: remove unused 'data' argument to topdown handler
[fio.git] / ghelpers.h
CommitLineData
53e0e85d
JA
1#ifndef GFIO_HELPERS_H
2#define GFIO_HELPERS_H
3
4GtkWidget *new_combo_entry_in_frame(GtkWidget *box, const char *label);
5GtkWidget *new_info_entry_in_frame(GtkWidget *box, const char *label);
6GtkWidget *new_info_label_in_frame(GtkWidget *box, const char *label);
b78ca651
JA
7GtkWidget *new_info_entry_in_frame_rgb(GtkWidget *box, const char *label,
8 gfloat r, gfloat g, gfloat b);
53e0e85d
JA
9GtkWidget *create_spinbutton(GtkWidget *hbox, double min, double max, double defval);
10void label_set_int_value(GtkWidget *entry, unsigned int val);
11void entry_set_int_value(GtkWidget *entry, unsigned int val);
12
1252d8f2 13GtkWidget *get_scrolled_window(gint border_width);
49c34176
JA
14
15struct multitext_widget {
16 GtkWidget *entry;
17 char **text;
18 unsigned int cur_text;
19 unsigned int max_text;
20};
21
22void multitext_add_entry(struct multitext_widget *mt, const char *text);
23void multitext_set_entry(struct multitext_widget *mt, unsigned int index);
24void multitext_update_entry(struct multitext_widget *mt, unsigned int index,
25 const char *text);
26void multitext_free(struct multitext_widget *mt);
27
28#define ALIGN_LEFT 1
29#define ALIGN_RIGHT 2
30#define INVISIBLE 4
31#define UNSORTABLE 8
32
33GtkTreeViewColumn *tree_view_column(GtkWidget *tree_view, int index, const char *title, unsigned int flags);
34
53e0e85d 35#endif