Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 16th, 2003, 04:37 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Question wxPython manual?

Is there a wxPython manual? I've searched the wxPython and wxPython Wiki sites, and while I found some helpful tutorials, I can't seem to find any formal documentation, like that found on the offical Python site. There's a link on the wxPython site, but it just directs you to the wxWindows documentation, which is obviously of no help to me. Anyone know if such a manual exists (online or in a book)?
__________________
Matt

Reply With Quote
  #2  
Old March 20th, 2003, 04:08 PM
TUF74 TUF74 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Houston, TX
Posts: 1 TUF74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb Boa Constructor

That was frustrating for me at frist as well. I found Boa Constructor (URL) to be most helpful in learning wxPython. It is a RAD GUI builder not unlike the one in VC++. The tutorial that comes with it guides you through the GUI creation, and you can look at the code it generates to help you learn it. It's pretty simple, and any questions you might have can usually be answered by the wxWindows docs because the methods and variables in wxPython are most often the same as their C++ counterparts. I just started playing with all of the features in Boa and learned wxPython that way. Hands on, trial by fire style. If you have any experience programming GUI's (like with MFC, AWT, GTK, QT, Swing, etc.) you'll find wxWin/Python is easy to learn. Good luck, and let us know how it goes!

Reply With Quote
  #3  
Old March 20th, 2003, 05:00 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Thanks for the tip. I downloaded Boa a while back, but didn't really get into it. I will try it again.

Since you know wxPython....do you know if it's possible to place text or images on the screen at a specific spot like you can in Win32? For example, let's say I want a logo to appear at the top left of the screen (ie. x=10, y=10). I read something about using the canvas to draw text or graphics. Is that what I want to do?

Also, is it possible to animate images, animate text like a ticker, and scroll through a text document (automatically via animation) with wxPython? Some examples of these include, a series of radar images playing in sequence, a ticker like you see on CNN, and the credits in a movie.

Lastly, do you know of any more "active" Python or wxPython forums? This one seems to be dead IMO (compared to other forums here). Thanks!

Last edited by marron79 : March 20th, 2003 at 05:13 PM.

Reply With Quote
  #4  
Old May 29th, 2008, 05:33 AM
sarabhjeet sarabhjeet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 3 sarabhjeet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 18 sec
Reputation Power: 0
Post

Quote:
Originally Posted by marron79
Thanks for the tip. I downloaded Boa a while back, but didn't really get into it. I will try it again.

Since you know wxPython....do you know if it's possible to place text or images on the screen at a specific spot like you can in Win32? For example, let's say I want a logo to appear at the top left of the screen (ie. x=10, y=10). I read something about using the canvas to draw text or graphics. Is that what I want to do?

Also, is it possible to animate images, animate text like a ticker, and scroll through a text document (automatically via animation) with wxPython? Some examples of these include, a series of radar images playing in sequence, a ticker like you see on CNN, and the credits in a movie.

Lastly, do you know of any more "active" Python or wxPython forums? This one seems to be dead IMO (compared to other forums here). Thanks!

HI there,
U can get wxpython help docs from wxpython.org just go to download stuffs there u can get what u want.

Reply With Quote
  #5  
Old May 29th, 2008, 06:16 PM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,195 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 13 h 34 m 6 sec
Reputation Power: 252
There is a book - "wxPython in Action" by Noel Rappin and Robin Dunn. That should give you everything you need.

The wxWidgets docs that you mention are also the python docs for the core Api. the API is mostly the same in Python and C++, and where they are different this is generally pointed out in the docs.

There is also the docs generated directly from the python source here. These are a bit sketchier than the wxWidgets docs, but cover the python-only additions (e,g, all the stuff in wx.lib).

Another good source (literally) of information is the demo program - you can get example code showing how to use almost every widget and module, and is usually well commented.

Reply With Quote
  #6  
Old May 29th, 2008, 06:37 PM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,195 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 13 h 34 m 6 sec
Reputation Power: 252
Quote:
Originally Posted by marron79
Since you know wxPython....do you know if it's possible to place text or images on the screen at a specific spot like you can in Win32? For example, let's say I want a logo to appear at the top left of the screen (ie. x=10, y=10). I read something about using the canvas to draw text or graphics. Is that what I want to do?


You could use a wxMiniFrame or a wx.SplashScreen.

Quote:
Originally Posted by marron79

Also, is it possible to animate images, animate text like a ticker, and scroll through a text document (automatically via animation) with wxPython? Some examples of these include, a series of radar images playing in sequence, a ticker like you see on CNN, and the credits in a movie.

There are several classes that cover what you want:

* wx.animate contains widgets for animating graphics.
* wx.lib.throbber is a widget for simple graphic animation.
* wx.lib.ticker is a scrolling text widget.

Quote:
Originally Posted by marron79

Lastly, do you know of any more "active" Python or wxPython forums? This one seems to be dead IMO (compared to other forums here). Thanks!


This forum goes in fits and spurts. If you want high volume then try the comp.lang.python newsgroup. This can be accessed in lots of ways, including google groups.

Reply With Quote
  #7  
Old June 2nd, 2008, 07:40 AM
cherry_bomber cherry_bomber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 7 cherry_bomber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 29 m 10 sec
Reputation Power: 0
mannings wxPython in action is the only book I know of that covers wxPython at full length.

imo, I found the wiki pages to be very helpful

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > wxPython manual?


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway