start the Tree expanded
svn path=/trunk/gtk-sharp/; revision=19567
This commit is contained in:
parent
7ade209999
commit
2a638aa84e
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,11 @@ namespace GtkDemo
|
|||
AddColumns (treeView);
|
||||
scrolledWindow.Add (treeView);
|
||||
|
||||
// expand all rows after the treeview widget has been realized
|
||||
// expand all rows after the treeview widget has been realized
|
||||
for (int i = 0; i < 12; i++)
|
||||
{
|
||||
treeView.ExpandRow (new TreePath (i.ToString ()), false);
|
||||
}
|
||||
|
||||
window.SetDefaultSize (650, 400);
|
||||
|
||||
|
|
Loading…
Reference in a new issue