Re: [gtk-list] Setting scrollbar position in gtktext
- From: "Tom Carter" <tcarter reliable-net net>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Setting scrollbar position in gtktext
- Date: Sat, 13 Mar 1999 07:14:02 -0500
I used the following to do this (assumes you are selecting that text/line
and know the offset (position)):
gtk_editable_set_position(GTK_EDITABLE (widget), position);
gtk_editable_select_region(GTK_EDITABLE (widget), position, position +
count);
-----Original Message-----
From: Timo Sirainen <aaaaaa@sicom.fi>
To: gtk-list@redhat.com <gtk-list@redhat.com>
Date: Friday, March 12, 1999 15:45
Subject: [gtk-list] Setting scrollbar position in gtktext
>Is there any way to move the scrollbar with GtkText widget to position
>where line x would be displayed?
>
>--
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]