Tim Evans wrote:
> Yann Le Boulanger wrote:
>> I attached a very simple exemple that adds text and an image in a
>> button. This code works under linux (evert GTK version) but not under
>> windows (GTK2.10.6 / pygtk2.10.3). Ttext is displayed, but not image.
>>
>> Do I use button badly or is it a win32 bug ?
> 
> The windows theme for GTK disables button images to make it look more
> like windows.  This might be what's breaking your button.  You could try
> changing the 'gtkrc' file associated with the ms-windows theme to remove
> the line "gtk-button-images = 0".
> 

Ha yes that's it!

btw it also happens in some GTK themes where this option is also set to 0.

thanks
-- 
Yann
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to