[gcompris-devel] Spinner/Slider/Textbox for Input

Kesha Shah kesha.shah1106 at gmail.com
Wed Dec 25 19:13:13 UTC 2013


> Hi,

> Have you seen that we already have an activity about this:
> http://gcompris.net/screenshots-en.html#clockgame

Hi Bruno,

Yes, I have seen this activity. But as you have noticed, there is a
slight differnce. The input and the output of both these activities
are vice versa of eachother. Till now, what I have implemented can be
found here[1]

> In our activity we don't have a level like you propose where the
> children must enter the numeric value following and analog clock.

> To implement what you are trying to do there is several choices :

> - Use a GtkEntry, you can see an example in guessnumber.py
> - Just catch the keyboard and implement your own entry
> - create a spinner on your own

Thanks a lot. I think I will try with GtKEntry and get back to you if
I face any difficulties.

[1]https://github.com/keshashah/GCompris/commits/ks-whattime

Regards,
 <https://github.com/keshashah/GCompris/commits/ks-whattime>--

Kesha Shah.



More information about the Gcompris-devel mailing list