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.

Best,

Liam


-- 
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
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to