Re: GtkTextView scroll preservation

2010-01-16 Thread Dov Grobgeld
So perhaps the insert-text signal should be emitted after the heights have been measured? Or there should be a an additional signal emitted after that has happened. Meanwhile I have found that I cannot use the TextViewer widget because of the very slow repainting and flickering that takes place as

Re: GtkTextView scroll preservation

2010-01-16 Thread David Nečas
On Sat, Jan 16, 2010 at 07:40:15PM +0200, Dov Grobgeld wrote: >- There should be a more direct way of requesting that a certain line be >displayed in the textview after insertion other than playing recursive >tricks with the adjustment callbacks! There is, you can create an iter corres

Re: GtkTextView scroll preservation

2010-01-16 Thread Dov Grobgeld
Thanks. With your example I somehow managed to get solve it, though I feel the solution is quite ugly: - There should be a more direct way of requesting that a certain line be displayed in the textview after insertion other than playing recursive tricks with the adjustment callbacks! -

Re: How to get width and height while resizing window?

2010-01-16 Thread Ken Resander
LiNuCE, many thanks! configure-event is what I need. There are no duplicates for this signal. I am still curious though to find out why the size-allocate signal consistently produces duplicates. Feature or bug? Ken   --- On Sat, 16/1/10, LiNuCe wrote: From: LiNuCe Subject: Re: How to g