Re: How to create a scrolled text window with GTK 2.x?
- From: Juha Nieminen <warp cs tut fi>
- To: Jan-Marek Glogowski <glogow fbihome de>
- Cc: gtk-list gnome org
- Subject: Re: How to create a scrolled text window with GTK 2.x?
- Date: Mon, 21 Jun 2004 14:04:26 +0300 (EEST)
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]