Hi,

Am Mon, den 14.06.2004 um 22:07 Uhr +0100 schrieb Prash:
> Peeps,
> 
> Here's a weird one. I have an editable textview and I'm enabling and
> disabling OK button based on if there's any text in the textview or not.
> So I add events - delete_from_cursor and insert_at_cursor. 
> 
> Now when a user types something, insert_at_cursor is not being called at
> all but delete_from_cursor is called when he deletes something.

insert_at_cursor sounds clipboard-like to me... I could be wrong
though..

What about
textview.get_buffer().connect("changed", changed_cb)

?

cheers,
   Danny

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to