Re: How to dispaly an Widget during callback processing
- From: G Hasse <gh raditex se>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to dispaly an Widget during callback processing
- Date: Thu, 14 Oct 2004 07:18:14 +0000
On Thu, Oct 14, 2004 at 09:04:24AM +0200, Carlo wrote:
gtk rapp-informatik de ha scritto lo scorso 13/10/2004 23.46:
In my callback have a few longer processes
Is ist possible in GTK 1.2 to show a an information message in a widget
like "Please wait I am working"
I am searching way to force to call gtk_main to show this info widget.
I there any call to gtk_main to do this.
while (gtk_events_pending ()) {
gtk_main_iteration ();
}
You should never have the UI waiting for som operation to complete.
Put your large amount of work in a separate process and make the
UI communicate with that process. This is fairly simple to do and
the user should be mutch happier.
Thanks for help
günther
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Göran Hasse
----------------------------------------------------------------
Göran Hasse email: gh raditex se Tel: 08-6949270
Raditex AB http://www.raditex.se Fax: 08-4420570
Sickla Alle 7, 1tr Mob: 070-5530148
131 34 NACKA, SWEDEN OrgNr: 556240-0589
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]