Hey. So, i have a scrolledwindow. I add bunch of other controls there
(vertically aligned). If i reach to the point where my added controls are
not shown anymore, then i want my vscrollbar to scroll itself to the bottom.
This is what i have tried so far:

Adjustment adj = new Adjustment(350,0.0,350.0,1.0,1.0,1);
scrolledwindow1.VScrollbar.SetScrollAdjustments(adj,adj);

This doesn't work! 350 is the height of the scrolledwindow! first parameter
is 350 which means that the scroll should go to the bottom!

Any help is appreciated!


-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Scrolling-dynamically-at-runtime-tp3023865p3023865.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to