Exemple #1
0
        private void OnRowActivate(object o, RowActivatedArgs args)
        {
            TreeIter ti = new TreeIter();
            //filter.GetIter(out ti, args.Path);
            TreePath childTP = filter.ConvertPathToChildPath(args.Path);

            store.GetIter(out ti, childTP);

            string pFile = store.GetValue(ti, PATH_ROW).ToString();
            // Full Path
            object tFile = store.GetValue(ti, TYPE_ROW);

            // Typ
            if ((int)tFile != (int)TypeFile.Directory)
            {
                MainClass.MainWindow.EditorNotebook.Open(pFile);
            }
        }