1 // Tree.h: interface for the CTree class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_TREE_H__C0DDC824_48DF_4A80_B393_83FF736FCB98__INCLUDED_)
6 #define AFX_TREE_H__C0DDC824_48DF_4A80_B393_83FF736FCB98__INCLUDED_
10 #endif // _MSC_VER > 1000
15 void cb_select_child (GtkWidget *root_tree, GtkWidget *child, GtkWidget *subtree);
23 GtkWidget *m_pMainWnd;
27 void Init(GtkWidget *win);
28 void AddPath(const char *path);
29 void AddFile(const char *file,GtkWidget *node=NULL);
30 GtkWidget *AddFolder(const char *folder, GtkWidget *node=NULL);
31 void RemovePath(const char*path);
33 void SelectChild(GtkWidget *child);
34 std::string GetSelected();
35 std::string GetFullPath(GtkWidget *item);
41 #endif // !defined(AFX_TREE_H__C0DDC824_48DF_4A80_B393_83FF736FCB98__INCLUDED_)