FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Very hard to see Windows aero and even basic

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Sun May 08, 2011 7:10 pm    Post subject: Very hard to see Windows aero and even basic Reply with quote

I've got a little program that has a menu bar with menus in it. But when I click on a menu, and also any of the menu items, they look like they've disappeared. Works alright in classic theme, (where the items don't change colour). Is there a way to change the colours for the effected stuff?
Back to top
View user's profile Send private message MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue May 10, 2011 12:01 pm    Post subject: Reply with quote

I did some searching and found this:
http://opensourcepack.blogspot.com/2011/03/nearly-invisible-menu-gtk-in-win7.html

Is that what you mean with disappearing menus?
Back to top
View user's profile Send private message
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Tue May 10, 2011 6:15 pm    Post subject: Reply with quote

Yes, that is what I meant.

The dll (link to from the web page) didn't seem to do any thing. I tried copying it into my programs folder, but no different.
Back to top
View user's profile Send private message MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed May 11, 2011 2:30 pm    Post subject: Reply with quote

This bug report gives a workaround by changing the .gtkrc-2.0 file:

https://bugzilla.gnome.org/show_bug.cgi?id=634839
Back to top
View user's profile Send private message
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Wed May 11, 2011 5:59 pm    Post subject: Reply with quote

What do you do with the .gtkrc-2.0 file? I tried putting it in the same folder my program, but to no effect.
Back to top
View user's profile Send private message MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu May 12, 2011 2:23 pm    Post subject: Reply with quote

On Windows, it is found in the etc\gtk-2.0 directory of your GTK+ Runtime install directory.

usually: C:\Program Files\GTK2-Runtime\etc\gtk-2.0\
Back to top
View user's profile Send private message
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Fri May 13, 2011 3:50 am    Post subject: Reply with quote

I have a C# version of it (GtkSharp). It has a similar file as below. And I don't have write access to it anyway.


Code:
gtk-theme-name = "MS-Windows"

style "rules-hint"
{
   GtkTreeView::allow-rules = 1
}

class "*" style "rules-hint"
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group