[pygtk] image and text in button
t.evans at aranz.com
Tue Jan 23 09:49:43 WST 2007
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".
Applied Research Associates NZ
More information about the pygtk