Re: showing a logfile in a Textview(like tail -f)

2006-07-20 Thread John Coppens
On Thu, 20 Jul 2006 16:36:51 +0200 rupert <[EMAIL PROTECTED]> wrote: > mmh, it seems to do the same thing, the new text gets added after the > old... Just use ...end_iter instead of start_iter to insert at the top. John ___ gtk-app-devel-list mailing l

Re: showing a logfile in a Textview(like tail -f)

2006-07-20 Thread rupert
On 7/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Thu, Jul 20, 2006 at 11:55:47AM +0200, rupert wrote: > > Which is the best way to create a textview that show me the actuall > logfile > > in a gtktextview? > > Currently i update a buffer with gtk_text_buffer_insert_at_cursor(data, >

Re: showing a logfile in a Textview(like tail -f)

2006-07-20 Thread tomas
On Thu, Jul 20, 2006 at 11:55:47AM +0200, rupert wrote: > Which is the best way to create a textview that show me the actuall logfile > in a gtktextview? > Currently i update a buffer with gtk_text_buffer_insert_at_cursor(data, > line, -1);in a timeout, the problem here is that the new text get

Re: showing a logfile in a Textview(like tail -f)

2006-07-20 Thread rupert
On 7/20/06, John Coppens <[EMAIL PROTECTED]> wrote: > > On Thu, 20 Jul 2006 11:55:47 +0200 > rupert <[EMAIL PROTECTED]> wrote: > > > Currently i update a buffer with gtk_text_buffer_insert_at_cursor(data, > > line, -1);in a timeout, the problem here is that the new text gets > > copied at the a

Re: showing a logfile in a Textview(like tail -f)

2006-07-20 Thread John Coppens
On Thu, 20 Jul 2006 11:55:47 +0200 rupert <[EMAIL PROTECTED]> wrote: > Currently i update a buffer with gtk_text_buffer_insert_at_cursor(data, > line, -1);in a timeout, the problem here is that the new text gets > copied at the and of the old text, i also tried gtk_text_buffer_insert, > but th

Rebuilding GTK

2006-07-20 Thread Tor Lillqvist
simon kendall writes: > After having run a format on the hard drive, my compiler program is of > course gone. Therefore, I need to rebuild GTK, Umm, why? > So, I read through the guide included with GTK, which tells me > there are packets available. I downloaded one of these, and > install

showing a logfile in a Textview(like tail -f)

2006-07-20 Thread rupert
Which is the best way to create a textview that show me the actuall logfile in a gtktextview? Currently i update a buffer with gtk_text_buffer_insert_at_cursor(data, line, -1);in a timeout, the problem here is that the new text gets copied at the and of the old text, i also tried gtk_text_buffe