Making an official-looking window

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2007
Posts: 77
Reputation: aot is an unknown quantity at this point 
Solved Threads: 1
aot's Avatar
aot aot is offline Offline
Junior Poster in Training

Making an official-looking window

 
0
  #1
Oct 26th, 2009
I'd like to make a bogus Windows window pop up asking the user to choose between energy settings (better performance vs. better energy savings). This is for a social psychological experiment about ecologically sustainable behavior, so it's completely legitimate; it's approved by an ethical board, and the participants will be debriefed about the nature of the deception afterward.

Now, I've done plenty of programming of experiments in python before (mostly using Tkinter), but I've never done anything deliberately designed to be so akin to native Windows. At the moment my plan is for it to be the first window that appears when they open the program, meaning that it will likely be asking about the program's own energy performance. Something like the following message, with two buttons:

Please choose the energy settings for this program.

[Better Energy Savings] [Better Performance]

Does anyone have experience here, or can you offer suggestions?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 1,057
Reputation: jlm699 is a jewel in the rough jlm699 is a jewel in the rough jlm699 is a jewel in the rough jlm699 is a jewel in the rough 
Solved Threads: 266
Sponsor
jlm699's Avatar
jlm699 jlm699 is offline Offline
Knows where his Towel is
 
0
  #2
Oct 26th, 2009
If you're looking for native-looking windows apps you'll want to go with wxPython. This is a Python class wrapper for the wx.widgets toolkit, which is cross-platform and extremely powerful.

There's a sticky in this forum with tons of examples of wx code. And here's where you can download the modules, as well as example code and find tutorials.
1. Use Code Tags.
2. Homework? Show Effort.
3. Keep discussions on the forum: no PMs
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC