GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Oct 24, 2014 3:28 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Converting PyGTK Script to EXE results in old Windows 2K GUI
PostPosted: Sat Jun 16, 2012 2:22 am 
Offline
Familiar Face

Joined: Sat Jun 16, 2012 2:20 am
Posts: 5
My application gets the old Windows style/look when I compile my PyGTK Application into an .exe.

How I can I preserve the Windows XP GUI look and style when I compile my Python/PyGTK script with Py2Exe or PyInstaller?

Is there a special .dll I need to include, do I need to create my own .manifest file and link it in my Py2Exe script(if so how)? In Native WinAPI I can toggle Windows XP style by using the function InitCommonControls();, is there a PyGTK equivalent function that I can use?

Note: If I run my PyGTK script in the python interpreter then the GUI has the correct Windows XP modern look. But when I compile that same script into an .exe using Py2Exe or PyInstaller, the GUI of the .exe has the old Windows 2K look and not the modern Windows XP look.

Any ideas on what I need to do to preserve the Windows XP look?


Top
 Profile  
 
 Post subject: Re: Converting PyGTK Script to EXE results in old Windows 2K
PostPosted: Sat Jun 16, 2012 6:08 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 764
Location: UK
Hi,

I don't use Windows, or even Python much and never the two applications you mentioned. But a quick search turned this up http://www.pyinstaller.org/ticket/14

_________________
E.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group