> my app connect database, it show login dialog first, after connected, it 
> distory the login dialog and come in main loop, show main window.
> i want add a progressbar in login dialog, but at that time it doesn't in main 
> loop , how can i refresh the progressbar by using timeout function?

I'd rather enter the mainloop and run your connection dialog from
there, and when connection succeeded just connect a callback and
spawnyour mainwindow there.

Regards
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to