Limiting a GtkTextBuffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux