John Hunter schrieb:
> On Tue, May 6, 2008 at 8:49 AM, Gregor Thalhammer
> <[EMAIL PROTECTED]> wrote:
>
>   
>>  I also discovered this behaviour. It seems to be a Windows only specific
>> behaviour that only affects the bitmaps of the disabled (or grayed out)
>> toolbar buttons. A solution I found is to use the png toolbar bitmaps
>> instead of of the xpm ones. For this, replace in backend_wx.py,
>> NavigationToolbar2Wx::_init_toolbar() 'home.xpm' by 'home.png', etc. In the
>> same file, in _load_bitmap() replace wx.BITMAP_TYPE_XPM by
>> wx.BITMAP_TYPE_PNG. This also gives a better visual impression since the png
>> bitmaps have an alpha channel, see attached file. Furthermore, in my
>> opinion, the floppy symbol is too small compared to the other icons. I also
>> attached a magnified version.
>>     
>
> Thankso Gregor -- I made these changes XPM->PNG for toolbar2 on the
> svn branch and trunk, but I don't have ready access to wx here, so if
> you or another wx svn user gets a chance to check, that would be
> great.  Else I can do it tonight from home.
>
>   
I checked the svn version (on Linux), works well. On Windows, applying 
these changes manually, I could see grayed out toolbox icons.

Gregor

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to