Limiting a GtkTextBuffer
- From: Bryan Christ <bryan christ hp com>
- To: gtk-app-devel-list gnome org
- Subject: Limiting a GtkTextBuffer
- Date: Wed, 05 Oct 2005 11:05:14 -0500
Is there anyway to limit the size of a GtkTextBuffer by line count?  I 
would like to be able to set a maximum number of lines.  In some cases, 
I would like to truncate the extra text appened to the end of the 
buffer.  At other times, I would like to delete the first line in the 
buffer and append the new line to then end (like a ring buffer).  Is 
GtkTextBuffer capable of this?
Thanks in advance,
Bryan
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]