Hi to all! I'm developing an editor based on gtkTextView and gtkTextBuffer. I'm looking for the possibility to perform some actions with pasted text. More precisely if a user paste some text into the editor, I must be able to control if there are not permitted chars (for example tabs) or at least to know the length of pasted text. For the second problem (to know the length of pasted text)the only solution I've found is to get the char_count before and after paste_clipboard is emitted, so the difference of the two values is the length of pasted text, but I'm not sure that this is the correct solution. Has anyone some tips about this? Where should I look for clipboard informations?
Thank you! Best Regards Pier Carteri -- Pier Carteri <[EMAIL PROTECTED]> _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/