On Sun, 9 Jul 2006 18:11:55 +0200 Simon TRENY <simon.treny@...> babbl=
ed:
> Sorry, there was an error in my test code, ->key is not set to NULL.
> But ->string and ->compose are still NULL, so the problem is still here=
.
compose will always be null as nothing fills it in yet (its intended for =
future
use with input systems like asian languages use). I can't say much about =
the
accented chars as i've never had a keyboard with them nor have i ever tri=
ed to
get them to work - but the string is a utf8 translation of whatever strin=
g x
say was just typed (as opposed to key symbol/name). x will provide the st=
ring
in some native locale and then ecore_x will translate to utf8. see
ecore_x_events.c - around line 199 - that uses XLookupString() to find th=
e
"typed string" from the key event. then a convert from the current locale=
to
utf8 and report that as key_compose in ecore_x's event - then ecore_evas =
will
pass in the keyname, keysymbol and key_compose (key_compose becomes strin=
g). in
ecore_evas_x.c around line 468. either x is providing no string or the ut=
f8
conversion is failing (maybe its not encoded properly as expected or
something). but that code hasnt changed recently :)
> Simon
>=20
> On Sun, 9 Jul 2006 18:05:38 +0200,
> Simon TRENY <simon.treny@...> wrote :
>=20
> > Hi,
> >=20
> > I'm using the "string" param of the key_down events of Evas
> > (i.e. event->string) to get the UTF-8 string to insert in the entries
> > of Etk when a key is pressed.
> > But it seems the params of the key_down events are no longer set when
> > an accented key ('=C3=A9' for example) is pressed: event->key,
> > event->string and event->compose are all set to NULL. I can be
> > reproduce the problem in e17: I can't type accented chars in the
> > entries of e17 although I could do it before.
> > If I remember correctly, raster told me that ->string or ->compose
> > depended on the config of xorg, so maybe it's because my xorg config
> > is incorrect, but here, even ->key is set to NULL.
> >=20
> > Regards,
> > Simon TRENY <MoOm>
> >=20
> >=20
> > ---------------------------------------------------------------------=
----
> > Using Tomcat but need to do more? Need to support web services,
> > security? Get stuff done quickly with pre-integrated technology to
> > make your job easier Download IBM WebSphere Application Server
> > v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d=
at=3D121642
> > _______________________________________________ enlightenment-devel
> > mailing list enlightenment-devel@...
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >=20
>=20
>=20
> -----------------------------------------------------------------------=
--
> Using Tomcat but need to do more? Need to support web services, securit=
y?
> Get stuff done quickly with pre-integrated technology to make your job =
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron=
imo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@...
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>=20
--=20
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster@...
=E8=A3=B8=E5=A5=BD=E5=A4=9A
Tokyo, Japan (=E6=9D=B1=E4=BA=AC =E6=97=A5=E6=9C=AC)
|