How to know if "INSERT" is on/off from key-press-event



Hi,

I need to do special handling for "key-press-event" in a GtkTextView
when some letter is entered while the "INSERT" mode is turned ON.  Is
there a way to know whether INSERT mode is ON or OFF at the time of
receiving a key-press for some other key (I cannot listen to key-press
event of INSERT key itself because my TextView may get created *after*
INSERT has already been pressed).

Thanks,
-Gaurav



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]