Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 16th, 2003, 01:35 PM
agrif agrif is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: A:\
Posts: 17 agrif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old July 16th, 2003, 03:57 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,537 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 17 m 47 sec
Reputation Power: 68
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
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.

Reply With Quote
  #3  
Old July 16th, 2003, 10:36 PM
agrif agrif is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: A:\
Posts: 17 agrif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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?

Reply With Quote
  #4  
Old July 17th, 2003, 05:00 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 513 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #5  
Old July 17th, 2003, 11:47 AM
agrif agrif is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: A:\
Posts: 17 agrif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.
Attached Files
File Type: zip chatclient.zip (94.4 KB, 517 views)

Reply With Quote
  #6  
Old July 17th, 2003, 02:45 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,537 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 17 m 47 sec
Reputation Power: 68
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
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.

Reply With Quote
  #7  
Old July 17th, 2003, 03:37 PM
agrif agrif is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: A:\
Posts: 17 agrif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.
Attached Files
File Type: py customwidgets.py (1.7 KB, 549 views)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Splash Screen

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap