Re: EuGTK - Q: how to show a picture before main()
- Posted by useless Aug 05, 2010
- 1494 views
Did you try threads?
useless
Won't work. In general, most UI frameworks require that all updates and UI events be processed in a single thread that is dedicated to the UI.
But technically there is no UI, it's a pretty splash screen to gaze in awe and rapture at until the program has started running behind it and gotten initialised. If nothing else, the picture placer code should be able to finish it's task of getting the pic up before the app starts loading, which i think is the intent of the programmer. I do not know why his picture isn't coming up, but i assume if the pic is using all the thread time available and the loading portion isn't given any time to run (because we can control that) until the picture is completely drawn (because we can detect that?), there's still not UI going on, but it keeps the OS from completeing the two tasks out of sequence set by the programmer. Right?
useless