views:

87

answers:

1

I have a Window with a TextView, and I would like to perform some actions when the user pastes some text.

I would also like to know what signal(s) should I catch in order to perform something when the user presses a key inside the TextView.

Can you tell me what are the signals I must connect?

+2  A: 

For paste: Take a look at the paste-done signal of the GtkTextBuffer class, it sounds about right.

For regular character insert: insert-text.

unwind
Arigato! Case solved!
Geo