ui_tree_view.h 650 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 10 11
{
    COL_MSG_NUM = 0,
    COL_SIGNAL,
    COL_FROM_TASK,
    COL_TO_TASK,
    COL_BUFFER,
    NUM_COLS
12
} col_type_e;
Cedric Roux's avatar
Cedric Roux committed
13

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

Cedric Roux's avatar
Cedric Roux committed
16 17
int ui_tree_view_new_signal_ind(const uint32_t message_number, const char *signal_name,
                                const char *origin_task, const char *to_task, gpointer buffer);
Cedric Roux's avatar
 
Cedric Roux committed
18 19 20

void ui_tree_view_destroy_list(GtkWidget *list);

21
void ui_tree_view_select_row(gint row, GtkTreePath **path);
22

23 24
void ui_tree_view_refilter(void);

25 26
guint ui_tree_view_get_filtered_number(void);

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