[Gtk-sharp-list] Gtk# TextView and Scrolling Text

countcb count.cb at gmx.net
Fri Jun 6 06:56:32 EDT 2008

Emfor wrote:
> Hi,
> 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#.

Does this also happen with my code snippet? When you add text to it?
Adding the TextView to a ScrolledWindow should be everything you need to do.

What version of mono and gtk# are you using?

I think i can't say more, wihout seeing some code.
View this message in context: http://www.nabble.com/Gtk--TextView-and-Scrolling-Text-tp17653284p17689448.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list