Search code examples
pythonwindowswindows-vistapython-3.xpywin32

PyWin32: Windows Classic theme


In the PyWin32 demos folder, the win32gui_dialog.py sample uses the classic windows controls. Can the Windows Vista themed buttons also be displayed using PyWin32, and if so, how? I'm using ActivePython 3.1, if that makes any difference.

Sample:

PyWin32 http://imagespark.net/files/old.png


Solution

  • Short answer: a resounding YES.

    I know that this is possible because I have seen it being done before. but I am not entirely certain as to how it is done.

    At the very least, you can use IronPython and use Windows' builtin .NET framework by wielding clr.

    If you are not interested in IronPython, then might you consider something along the lines of easyGUI or TkInter?