Re: Delete a gtktextbuffer to fill it again
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Delete a gtktextbuffer to fill it again
- Date: Tue, 14 Jun 2005 08:56:23 -0300
Colossus wrote:
Hi,
I use gtk_text_buffer_delete this way:
if (textbuf != NULL)
{
gtk_text_buffer_get_start_iter (textbuf,&start);
gtk_text_buffer_get_end_iter (textbuf,&end);
gtk_text_buffer_delete (textbuf,&start,&end);
}
Have you tried using gtk_text_buffer_set_text() ?
--
Conscience is what hurts when everything else feels so good.
Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]