Rename pointerOrder TMtag member to flags
[geany-mirror.git] / src / sidebar.h
blob516b635395ac107b8e7048d45e78c5c2f527c88e
1 /*
2 * sidebar.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005 The Geany contributors
6 * This program 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 * This program 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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef GEANY_SIDEBAR_H
24 #define GEANY_SIDEBAR_H 1
26 #include "document.h"
28 #include "gtkcompat.h"
30 G_BEGIN_DECLS
32 typedef struct SidebarTreeviews
34 GtkWidget *tree_openfiles;
35 GtkWidget *default_tag_tree;
36 GtkWidget *popup_taglist;
38 SidebarTreeviews;
40 extern SidebarTreeviews tv;
42 enum
44 SYMBOLS_COLUMN_ICON,
45 SYMBOLS_COLUMN_NAME,
46 SYMBOLS_COLUMN_TAG,
47 SYMBOLS_COLUMN_TOOLTIP,
48 SYMBOLS_N_COLUMNS
51 void sidebar_init(void);
53 void sidebar_finalize(void);
55 void sidebar_update_tag_list(GeanyDocument *doc, gboolean update);
57 void sidebar_openfiles_add(GeanyDocument *doc);
59 void sidebar_openfiles_update(GeanyDocument *doc);
61 void sidebar_openfiles_update_all(void);
63 void sidebar_select_openfiles_item(GeanyDocument *doc);
65 void sidebar_remove_document(GeanyDocument *doc);
67 void sidebar_add_common_menu_items(GtkMenu *menu);
69 void sidebar_focus_openfiles_tab(void);
71 void sidebar_focus_symbols_tab(void);
73 G_END_DECLS
75 #endif /* GEANY_SIDEBAR_H */