| | |
Making an official-looking window
![]() |
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?
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?
0
#2 29 Days Ago
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.
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.
![]() |
Similar Threads
- Desinging in C# window application. (C#)
- Help with wxpython program (Python)
- ask (C++)
- AJAX : Am i right with the concept? (JavaScript / DHTML / AJAX)
- making current window change to fullscreen, Ive looked everyhwhere and came here .... (HTML and CSS)
- Need comments on replacement browser for IE (Web Browsers)
- form to get e-mail and name --- for newsletter (HTML and CSS)
- blur (Graphics and Multimedia)
Other Threads in the Python Forum
- Previous Thread: Is this an OO program?
- Next Thread: Create a string with Hex values
| Thread Tools | Search this Thread |
abrupt ansi anti apache approximation array assignment avogadro backend beginner binary bluetooth book builtin calculator character cmd converter countpasswordentry curved customdialog dan08 decimals dictionaries dictionary dynamic exe file float format function gnu graphics heads homework http ideas import inches input java leftmouse library line lines linux list lists loop module mouse mysqlquery number numbers numeric output parsing path phonebook plugin pointer port prime programming progressbar py2exe pygame python random recursion redirect scrolledtext software sqlite statictext statistics string strings sum table terminal text textarea thread threading time tlapse trick tuple tutorial twoup ubuntu unicode urllib urllib2 variable wordgame write wxpython xlib






