[Gtk-sharp-list] Windows theme not applied

D. Dobrev dpldobrev at yahoo.com
Sun Nov 30 12:43:23 EST 2008


I installed Mono 2.0.1 for Windows and tested GtkDemo
(...\Mono-2.0.1\samples\gtk-sharp-2.0). I created a new project in Visual
Studio, added all files and images and ran the application. The behaviour is
the same as in my program: if the project is debugged, the XP theme gets
applied; however, if the app is simply executed (Ctrl + F5), the Windows
theme is the classic one. I attached GtkDemo as a VS solution:
http://www.nabble.com/file/p20760026/GtkDemo.zip GtkDemo.zip 

There is something else: if the original GtkDemo.exe (in
...\Mono-2.0.1\samples\gtk-sharp-2.0\GtkDemo) is started, first a command
line window appears and then the GUI is shown with the XP theme correctly
applied. However, this flashing terminal window is quite unpleasant to me
and it also stops the demo app if it is closed (just like in Linux). My
question is: is there a way to have the current Windows theme applied on a
GTK# application without first displaying a terminal? Are there such
applications which source I can browse and fix my own app?
-- 
View this message in context: http://www.nabble.com/Windows-theme-not-applied-tp20758097p20760026.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list