The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Splash Screen
Discuss Splash Screen in the Python Programming forum on Dev Shed. Splash Screen Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

July 16th, 2003, 01:35 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: A:\
Posts: 17
Time spent in forums: 5 m 13 sec
Reputation Power: 0
|
|
|
Splash Screen
I was wondering if it is possible in tkinter to make a splash screen while the rest of the program loads, like Photoshop or The Gimp. One of my programs takes so long to load that it seems like it just doesn't work. This would not be good for users who don't know much about computers.
Thanks
|

July 16th, 2003, 03:57 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
|
TKinter
Thats the problem with TKinter, its good for learning gui stuff (learned it for a while but then got bored, cant remember all that much about it now) but it look's really old and crappy, it's slower than other gui's, is missing alot of functionality which you can get with other gui's such as wxWindows, something i am hoping will replace TKinter as the gui packaged with Python its just that good. wxWindow alows you to create plash screans but it's somthing i have never seen of heard of being done in python.. you could search comp.lang.python on google (google groups), if its possible you should be able to find it here.
Hope this helps,
Have fun,
Mark.
|

July 16th, 2003, 10:36 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: A:\
Posts: 17
Time spent in forums: 5 m 13 sec
Reputation Power: 0
|
|
|
Thanks alot for the help. I've managed to find a script that will display a splash screen. With this, i've tried to show an image. When I try to make a PhotoImage widget with splash.gif, I get a traceback saying that there is an error in the image. I know that this is not true, because it displays perfectly in all of the image editing programs I have. I've never used a photoimage widget before. Could someone tell me how to use it?
|

July 17th, 2003, 05:00 AM
|
 |
Wacky hack
|
|
Join Date: Apr 2001
Location: London, England
Posts: 513
Time spent in forums: 1 h 38 m 37 sec
Reputation Power: 13
|
|
|
You might need to convert the image into the PNG format. Up until recently GIFs were under a patent and the holder (Unisys) was very stringent about applications using their patented technology without paying, so people have tried to use PNGs instead.
|

July 17th, 2003, 11:47 AM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: A:\
Posts: 17
Time spent in forums: 5 m 13 sec
Reputation Power: 0
|
|
|
Thanks. I can get the image to display correctly now, so I'm fine in that area. But whenever I run the script, it locks up on me. I've attatched the script. It needs th PIL(I gave up on normal PhotoImages) and python 2.3.
|

July 17th, 2003, 02:45 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
|
wow
Wow, nice dependancies you got there. 2.3, PIL, customwidgets and pygame  .
Wish i could help but i only have 2.2.2, PIL and pygame.
Good luck,
Mark.
|

July 17th, 2003, 03:37 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: A:\
Posts: 17
Time spent in forums: 5 m 13 sec
Reputation Power: 0
|
|
oh, duh. How could i have been more stupid. The "customwidgets" module... here.
It's just a class. Kinda stupid on my part.
Netytan... yeah, i needed lots of different things, so lots of modules popped up to help. 
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|