[Gtk-sharp-list] ScrolledWindow and TextView

tapia tapia at mcatalog.net
Tue May 17 06:54:30 EDT 2005

On mar, 2005-05-17 at 11:15 +0200, xiii29 at free.fr wrote:
> Hi !
> I'm using a ScrolledWindow in order to manage a TextView.
> I add the TextView to the ScrolledWindow by "AddViewPort".
> Everyting run ok but one question : How can I manage that when I enter some text
> in the TextView, the scrollbar follow the Text ... For the moment, when all the
> View is full, I can enter text but not see it ...

Add the TextView this way:

yourScrolledWindow.Add (yourTextView);

There's no need for a Viewport here.



More information about the Gtk-sharp-list mailing list