On Thu, 08 Oct 2015 20:59:21 +0200
Stefan Salewski <m...@ssalewski.de> wrote:

> I was hoping that it could be possible to simple block input when buffer
> has a maximum length, but I got that not working.

Note that this can give an unpleasant user experience. It might be more helpful 
just to have a count of characters available that becomes negative and changes 
from grey to red (change both lightness and colour, for people who can't 
differentiate black from red) - you see this approach on Web sites quite often. 
Then people can paste a longer text and delete it, or can add a new word and 
then delete a longer one.



Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
gtk-app-devel-list mailing list

Reply via email to