Refreshing window & other

2003-09-17 Thread SMS WebMaster
Hi I am new in GTK programming and I think GTK is very nice and easy but I have few question I hope if someone can answer any of them. 1. How can I refresh a window in my program to show some text in the statusbar before my program do a big job. (In another word, how can I make "DoEvents" in G

Re: Refreshing window & other

2003-09-17 Thread Sven Neumann
Hi, SMS WebMaster <[EMAIL PROTECTED]> writes: > 2. Where can I download http://www.gtk.org/tutorial/ in html > format. (the URL ftp.gtk.org/pub/ can't be found !!!) The documentation is part of the GTK+ source tarball. It is by default installed (and cross-linked with documentation for glib, p

Re: Refreshing window & other

2003-09-17 Thread Chris Moller
I've used stuff with progress monitors like: gboolean update_progress_bar(double tp) { gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress_bar), tp/progress_bar_max); while (gtk_events_pending()) gtk_main_iteration(); return progress_rc; } which is called every so many cycles of t