EuGTK - Q: how to show a picture before main()

new topic     » topic index » view thread      » older message » newer message

I have the following EuGTK code fragment.

  show_all(splash)   -- This shows a picture to look at while the data loads. 
  getUSDAdata()    -- This takes a few seconds to load the data. 
  hide(splash)   -- After the data is loaded, the picture goes away. 

What happens is:
1. No picture, data loads, taking a few seconds.
2. After the data is loaded, the picture shows, if I comment out hide(splash).

It ain't supposed to work that way. The purpose of the picture is to tell the user that the computer is doing something and did not hang up.

How can I get the picture to show before the data starts loading?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu