[maemo-developers] C - hildon_file_chooser_dialog_new - Refreshing UI
From: David Hautbois david.hautbois at free.frDate: Sun Mar 9 17:20:17 EET 2008
- Previous message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Next message: Debian armel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It works. Thanks ! Daniil Ivanov wrote: > You have to use: > > while (gtk_events_pending()) > gtk_main_iteration(); > > If it still doen't help, we need details on how do you process a file. > > ~Daniil > > On Sun, Mar 9, 2008 at 12:34 AM, David Hautbois <david.hautbois at free.fr> wrote: > >> Hi >> >> I've some problems to refresh my UI : >> >> The user selects a file ( hildon_file_chooser_dialog_new ) >> I delete the dialog window (gtk_widget_destroy) >> During processing the selected file, I use gtk_events_pending () to >> refresh the UI in the loop parsing the file. >> >> It does not work. >> During the file processing, the UI freezes. >> The file chooser dialog disappears and the main window is back, but only >> after the process of the file is finished. >> >> I forget something, but I don't know what.... >> I hope to be understandable..... >> >> Thanks. >> >> David. >> >> -- >> Web site : http://david.hautbois.free.fr >> Tablet users map : http://david.hautbois.free.fr/maps/index.php >> >> >> _______________________________________________ >> maemo-developers mailing list >> maemo-developers at maemo.org >> https://lists.maemo.org/mailman/listinfo/maemo-developers >> >> > > -- Web site : http://david.hautbois.free.fr Tablet users map : http://david.hautbois.free.fr/maps/index.php
- Previous message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Next message: Debian armel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]