Re: How to create a scrolled text window with GTK 2.x?



On Sun, 20 Jun 2004, Jan-Marek Glogowski wrote:

> Textview has native scrolling, so use:
> gtk_container_add( GTK_CONTAINER( scrolledTextWindow ), textWindow );
>
> This will scroll when you type - I'm not sure what happens, if you add
> text via the gtk_text_buffer_* funtions.

  That felt promising because it indeed scrolled to the end when text was
added by hand.
  However, if text is added with the gtk_text_buffer functions, it does not
scroll to the end, and unfortunately this is exactly what I would need...

  Any ideas?

							- Juha Nieminen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]