[pygtk] Win32 Buttons
paul at tartan.co.za
Fri Mar 30 16:18:10 WST 2007
Mark Doukidis wrote:
> Hi Paul,
> Off the top of my head, I think it could be related to the "theme".
> GTK install defaults to a "MS-Windows" theme that does not display
> stock icons in buttons.
> Yep. Just tried your example.
> I changed the theme to "Metal" and the stock icon appeared.
> Mark Doukidis
> On 3/29/07, Paul Malherbe <paul at tartan.co.za> wrote:
>> Hi Everyone
>> I am having problems displaying buttons in win32.
>> The code runs perfectly under linux and displays the Icon and Text in
>> the button. Under windows however only the text displays.
>> win = gtk.Window()
>> but = gtk.Button(stock="gtk-quit")
>> I am using:
>> python 2.4
>> Gtk+ Runtime Environment 2.6.10-rc1
>> Is this a known problem or is there something else I need to do in
>> Thanks for any help!
>> Paul Malherbe
>> pygtk mailing list pygtk at daa.com.au
>> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Thanks for your help, that sorted it out.
More information about the pygtk