Gtk::events_pending()
| From: | Sebastian G. | Date: | Wed, 20 Feb 2002 11:10:12 +0000 |
| Subject: | Gtk::events_pending() | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1284@lists.php.net to get a copy of this message | ||
On Fri, Feb 08, 2002 at 09:52:27AM +0100, Moritz Post wrote :
> 2. When i fire a signal i would like to display what the script is doing
> because it can take a while. when i (e.g.) set the Statusbar the change takes
> effect AFTER the hole signale function was executed. so the status message is
> not really showing whats going on.
Change the statusbar and call
while (Gtk::events_pending())
Gtk::main_iteration();
immidiately after it.
Hi,
I picked this somewhere in the list and wondered, if this could be
explained a little bit, cause it looks like a very elementary feature to
make use of.
--
MfG,
Sebastian G.