[Gpephone-devel] Ptim success

Florian Boor florian.boor at kernelconcepts.de
Thu Apr 12 00:26:56 CEST 2007


Hi,

Nils Faerber schrieb:
> AFAIK Nokia did some hack to achieve this. In numeric input fields only
> numbers can be input (the characters are greyed out on the virtual
> keboard), even a hexadecimal mode is possible (e.g. for hex-WEP-key).
> 
> But I think it was rather a hack and is quite surely not upstream.

if I remember correctly they simply added these property to GtkEditable or
similar. In fact properly implemented that would be a quite useful thing for
upstream GTK.
A possible hack that would not involve an API change would be to add this
information as a named data pointer to an object. That would be an easy way to
introduce and test this feature. The only thing I'm currently not really sure
about is how to get the matching widget in the input context callback.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-14
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76



More information about the Gpephone-devel mailing list