Re: [gtk-list] Re: text widget - make position visible



Lyndon Drake wrote:

> You could try gtk_editable_set_position(), but this has the annoying
> side effect that if you move the point to somewhere not currently
> visible, the text widget scrolls slowly to the point requested. 

What if you freeze the text and then thaw it afterwards. Does that help?


> It
> does get you to the right part of the text widget.
> 
> Does anyone know if anything is happening/planned regarding a
> replacement for GtkText?  It isn't exactly blisteringly fast, and it
> would be nice to have a better system for displaying rich text (ie
> multiple fonts/colours).  There has occasionally been talk of a new
> text widget; presumably this is post 1.2?
> 
> Lyndon
> 
> On Mon, Feb 22, 1999 at 12:11:08PM +0000, Chris Bitmead wrote:
> >
> > When using a non-editable text  widget, how do I make sure a particular
> > position in the text is visible in the window? gtk-text-set-point
> > doesn't seem to do it, unlike the Motif TK.
> >
> > --
> > Chris Bitmead
> > http://www.bigfoot.com/~chris.bitmead
> > mailto:chris.bitmead@bigfoot.com
> >
> > --
> > To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> >
> 
> --
> 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]