Re: Regarding GTK Entry keys (Sanny Chawla)
- From: haithem rahmani <haithem rahmani gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Regarding GTK Entry keys (Sanny Chawla)
- Date: Fri, 12 Feb 2010 14:50:03 +0100
Hi,
I'm also working on a GTK/directfb based application for embedded platform
and My question is :
is it possible to map a RemoteControl keys to be detected by GTK?
currently only numeric keys are detected (0~9).
regards.
Message: 6
Date: Fri, 12 Feb 2010 13:26:21 +0530
From: Sanny Chawla <sanny chawla gmail com>
To: AshokKumar G <ashok sysprogrammer gmail com>
Cc: gtk-app-devel-list gnome org
Subject: Re: Regarding GTK Entry keys
Message-ID:
<158f4de41002112356x585c5d8cj5126c9dbd9d7866d mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1
Hi Ashok,
This might be because of the incorrect hardware keycode for the function
keys on your embedded system. The key events that you mentioned (Backspace ,
Delete , etc) are activated through key bindings in Gtk which needs a valid
hardware keycode.
You can try modifying the keymap table for this. xmodmap utility can be
helpful for the same.
Cheers ,
Sanny
On Wed, Feb 10, 2010 at 4:27 AM, AshokKumar G <ashok sysprogrammer gmail com
wrote:
Hi,
I am new to GTK+ programming. I have created a test application
with GtkEntry on embedded system based on ARM and backend target is
DirectFB-1.2.9. I am able to enter the text into GtkEntry field. But when
I
use BackSpace, Delete, Arrow Keys (left or right for navigation), no
action
is taken. In my test application I have registered call back
key-press-event
to verify whether event is coming or not, when I press backspace the event
is coming and I am returning FALSE from that call back function. But no
character is getting deleted on backspace/delete key press.
But when I run my same test application on PC GTK+same version
with
backend target X11, then all the actions are performing as expected.
Could some one help me on this?
Thanks & Regards,
AshokKumar.G
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
------------------------------
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
End of gtk-app-devel-list Digest, Vol 70, Issue 14
**************************************************
--
Say: He is God, the One and Only;
God, the Eternal, Absolute;
He begetteth not, nor is He begotten;
And there is none like unto Him.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]