[Gtk-sharp-list] Gtk# TextView and Scrolling Text
m-a-t-i at o2.pl
Fri Jun 6 04:00:41 EDT 2008
> You have to add your TextView to a ScrolledWindow widget and then add this
> ScrolledWindow to the window/dialog you want the TextView to be displayed
I did that. When I load text, the scroll bar is shown, but when I move
cursor around the text and it goes away the visible part of the TextView, it
doesn't scroll to show the cursor. I experiment here with OnCursorMove event
and Iter/Mark, but none of the solutions I've found (mostly for C/C++)
doesn't work with Gtk#.
View this message in context: http://www.nabble.com/Gtk--TextView-and-Scrolling-Text-tp17653284p17686795.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list