Thread: DR800 Osmo: Personal organizer
View Single Post
Old 03-27-2010, 06:25 PM   #13
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Mackx View Post
Hi Iņigo,

The problem with the keyboard is a DR specific thing. It appears/disappears 'automagically' when needed, however when the application closes and the keyboard is still shown, it will not disappear.
The easiest trick is to change the quit-callback functions to something like this:

Code:
void
calendar_quit_app_cb (GtkWidget *widget, gpointer user_data)
{
    //set focus to button to remove keyboard
    gtk_widget_grab_focus(widget);
    
    GUI *appGUI = (GUI *)user_data;
    gui_quit_osmo (appGUI);
}
(I also changed the signature of the function, which is more appropriate for this kind of callback.)
Ok, thanks for the point.
I'm used to Iliad, where the keyboard is a different program/process.
I'll post a new version in a few days.
Iņigo is offline   Reply With Quote