RE: How to know if "INSERT" is on/off from key-press-event
- From: Gaurav Jain <gaurav adobe com>
- To: "'Olexiy Avramchenko'" <olexiy ctech cn ua>, "'Gaurav Jain'" <gaurav anywhere gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: RE: How to know if "INSERT" is on/off from key-press-event
- Date: Thu, 23 Dec 2004 16:13:14 +0530
Thank you!
Yes, indeed, that member is there in the header. I got confused when I
tried using gtk_text_view_get_overwrite() instead, as the latter is not
available on 2.0.9 (but the overwrite_mode field is).
Thanks again!
-Gaurav
-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] On Behalf Of Olexiy
Avramchenko
Sent: Thursday, December 23, 2004 4:01 PM
To: 'Gaurav Jain'
Cc: gtk-app-devel-list gnome org
Subject: Re: How to know if "INSERT" is on/off from key-press-event
Gaurav Jain wrote:
Thanks for that!
Unfortunately that feature is supported in Gtk 2.4 and above, and I'm
still using Gtk 2.0.9.
Is there any other workaround that can be used to the same effect?
GTK+-2.0.9 supports that. Look at "gtktextview.h" header file:
'grep overwrite_mode gtktextview.h'.
Olexiy
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]