Re: Delete a gtktextbuffer to fill it again
- From: Colossus <colossus 3000 it>
- To: gtk-app-devel-list gnome org
- Subject: Re: Delete a gtktextbuffer to fill it again
- Date: Tue, 14 Jun 2005 09:15:59 +0200
Colossus wrote:
I fill the text gtk_text_buffer this way:
if (line != NULL) gtk_text_buffer_insert(textbuf, &enditer, line,
strlen( line ) );
As it always happens after sending this email to the list I got the
solution: I forgot to call
gtk_text_buffer_get_start_iter(textbuf, &enditer); after deleting the
gtk_text_buffer because the iterators are changed after the call to
gt_text_buffer_delete().
Sorry,
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]