 |
| View previous topic :: View next topic |
| Author |
Message |
kingrs
Joined: 15 Jan 2006 Posts: 30 Location: Stafford, UK
|
Posted: Wed Apr 05, 2006 3:40 pm Post subject: Fast refresh of GtkWindow |
|
|
Hi,
I have part written an app which creates a local SQLite database based on a set of tables in a remote MySql database, the records are then synchronised across to each of the SQLite tables.
Because the task is processor intensive the GtkWindow for the application will not appear fully until it has finished all its work.
I have tried:
$win->show();
$win->show_all();
to get it to display fully but it does not have any effect. What I wanted to do was to update the status bar in the window to show table being processed.
In VB6 there is a command called doEvents() that allows Windows to do any screen update, accept keys etc., is there something similar in php-gtk?
Regards
Rob |
|
| Back to top |
|
 |
kingrs
Joined: 15 Jan 2006 Posts: 30 Location: Stafford, UK
|
Posted: Wed Apr 05, 2006 3:48 pm Post subject: |
|
|
Ok, I've found the solution now in the previous progress bar post:
while (Gtk::events_pending()) {Gtk::main_iteration();}
Regards
Rob |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
 |