[maemo-developers] C - hildon_file_chooser_dialog_new - Refreshing UI
From: Daniil Ivanov daniil.ivanov at gmail.comDate: Sun Mar 9 00:53:20 EET 2008
- Previous message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Next message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
- Previous message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Next message: C - hildon_file_chooser_dialog_new - Refreshing UI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
