944,084 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 282
  • Python RSS
Oct 26th, 2009
0

Making an official-looking window

Expand Post »
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?
Similar Threads
aot
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
aot is offline Offline
83 posts
since Feb 2007
Oct 26th, 2009
0
Re: Making an official-looking window
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.
Reputation Points: 355
Solved Threads: 292
Veteran Poster
jlm699 is offline Offline
1,102 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Is this an OO program?
Next Thread in Python Forum Timeline: Create a string with Hex values





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC