GTK for OLPC: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
'''Cursor blinking''' |
'''Cursor blinking''' |
||
I began with this (probably quite simple to do). The purpose is to let the cursor blink for a few seconds, then just stay on and stop blinking |
I began with this (probably quite simple to do). The purpose is to let the cursor blink for a few seconds, then just stay on and stop blinking (affects GtkEntry and GtkTextView). |
||
This is done by : |
|||
⚫ | |||
<ul> |
|||
<li>Adding an XSetting called "gtk-cursor-blink-lifetime", which defaults to 5 seconds.</li> |
|||
<li>Adding a timeout with the corresponding lifetime each time the code asks the cursor to begin blinking. When the timeout is over, the cursor stays on.</li> |
|||
</ul> |
|||
⚫ | |||
== Simulation Tools == |
== Simulation Tools == |
Revision as of 14:50, 31 May 2006
This is the wiki page for the "GTK+ for OLPC" project, as a "Summer of Code" project. The student is Manu Cornet, mentor is Federico Mena-Quintero.
Various enchancements
Cursor blinking
I began with this (probably quite simple to do). The purpose is to let the cursor blink for a few seconds, then just stay on and stop blinking (affects GtkEntry and GtkTextView).
This is done by :
- Adding an XSetting called "gtk-cursor-blink-lifetime", which defaults to 5 seconds.
- Adding a timeout with the corresponding lifetime each time the code asks the cursor to begin blinking. When the timeout is over, the cursor stays on.
A first version of the patch (both for GtkEntry and GtkTreeView) is available [here http://www.manucornet.net/olpc/blink_lifetime.diff].
Simulation Tools
I need to ask Matthew Allum about "Xephyr" and possibly other tools (developed at first for Nokia).
GTK+ theme engine
I'll probably begin by searching whether there's an existing theme close to what we want, and I can start from there.