Re: [gtk-list] Re: Pausing the scrolling on a text widget



Or use gtkextext until gtk 1.4 is released :-)

http://www.bahnhof.se/~mikeh/linux_software.html

Greats

MikeH


On Thu, 27 Apr 2000 12:48:11 Havoc Pennington wrote:
> 
> Ron Martin <rmartin@cps.cmich.edu> writes:
> > 
> > How do I disable a text widget from scrolling to the end of the text
> > automagically when new text is added to it?  It is a MUD client.  If I
> > am scrolled back on the window to review some text and more text is
> > added to the text widget, it scrolls all the way to the end.  This is
> > not the effect I want.  Any ideas?
> > 
> 
> Uh... the GTK 1.4 text widget fixes this problem. ;-)
> 
> That doesn't help you now though, since you are stuck with GtkText in
> all its sucky glory. Maybe you could save the position of the scroll
> adjustment, insert the text, then set the adjustment back to its
> earlier value?
> 
> Havoc
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

-- 

Totally free Linux/Windows applications at: 
Hemsida: http://www.bahnhof.se/~mikeh
Dagbok: http://www.bahnhof.se/~mikeh/cgi-bin/dagbok.cgi
Country: Sweden 
City: Kristianstad
ICQ: 64150878



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