ui_tree_view.h 750 Bytes
Newer Older
Cedric Roux's avatar
 
Cedric Roux committed
1
2
3
#ifndef UI_TREE_VIEW_H_
#define UI_TREE_VIEW_H_

4
typedef enum
Cedric Roux's avatar
Cedric Roux committed
5
6
7
8
9
{
    COL_MSG_NUM = 0,
    COL_SIGNAL,
    COL_FROM_TASK,
    COL_TO_TASK,
winckel's avatar
winckel committed
10
11
12
13
14
15
    COL_INSTANCE,

    COL_SIGNAL_ID,
    COL_FROM_TASK_ID,
    COL_TO_TASK_ID,

Cedric Roux's avatar
Cedric Roux committed
16
17
    COL_BUFFER,
    NUM_COLS
18
} col_type_e;
Cedric Roux's avatar
Cedric Roux committed
19

Cedric Roux's avatar
 
Cedric Roux committed
20
21
int ui_tree_view_create(GtkWidget *window, GtkWidget *vbox);

Cedric Roux's avatar
Cedric Roux committed
22
int ui_tree_view_new_signal_ind(const uint32_t message_number, const char *signal_name,
winckel's avatar
winckel committed
23
                                const char *origin_task, const char *to_task, uint32_t instance, gpointer buffer);
Cedric Roux's avatar
 
Cedric Roux committed
24
25
26

void ui_tree_view_destroy_list(GtkWidget *list);

27
void ui_tree_view_select_row(gint row, GtkTreePath **path);
28

29
30
void ui_tree_view_refilter(void);

31
32
guint ui_tree_view_get_filtered_number(void);

Cedric Roux's avatar
 
Cedric Roux committed
33
#endif /* UI_TREE_VIEW_H_ */