Exemplo n.º 1
0
 private bool ForeachRow(Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter)
 {
     if (assemblyTree.GetRowExpanded(path))
     {
         treePaths.Add(path.ToString());
     }
     return(false);
 }
Exemplo n.º 2
0
        void SaveStatus(ArrayList list, string path, Gtk.TreeIter iter)
        {
            string basePath = path + "/" + store.GetValue(iter, ColSignal);

            if (tree.GetRowExpanded(store.GetPath(iter)))
            {
                list.Add(basePath);
            }

            if (store.IterChildren(out iter, iter))
            {
                do
                {
                    SaveStatus(list, basePath, iter);
                } while (store.IterNext(ref iter));
            }
        }