I have a simple treeview (like this one - 
http://www.mono-project.com/GtkSharp_TreeView_Tutorial) filled with 200 items 
and connected to scrollbar. Everything works, but when I select an item and use 
arrow keys, selected item can be out of 
visible area. Is it possible to focus on it or set adjustment of 
scrollbar, i.e.
void HandleTreeSelectionChanged (object sender, EventArgs e)
{ vadjustment.Value=SELECTED-ITEM.DISTANCE-FROM-TOP-OF-TREEVIEW;
} 
And one more question: How to paint a black border to table (this 
tree.EnableGridLines = TreeViewGridLines.Both; makes just inside grid).
Thanks in advance.
Matej/
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to