[Gtk-sharp-list] events and TextView/Buffer

Miguel de Icaza miguel@ximian.com
10 Sep 2002 12:58:43 -0400


Hello,

> Nothing at all happens when I have an InsertAtCursorHandler (seemingly)
> connected, so it's difficult to describe in more detail. When I have a
> Changed handler connected to the TextBuffer I get:

This signal is only raised if you call the InsertAtCursor method
manually, not if you call it from Gtk (at least that was my
understanding from the signal).

> All I really wanted to do was detect what the user has just typed into a
> text widget, and depending on what they typed, insert text
> automatically. It sounded like the InsertAtCursor event would be just
> right...

Try with the Changed signal please.

Miguel