Hello Surya, I was facing the same problem when I ported my application to win32, so I read previous messages in the mailinglist like Jonathon said. The following solution works and was posted by Alexander: || for showing images on buttons in MS-Windows theme you must: || 1. open file ..\GTK\\share\themes\MS-Windows\gtk-2.0\gtkrc || 2. change gtk-button-images = 0 to gtk-button-images = 1 I wasn't to happy about that, since you don't want to manually patch the gtkrc file to see some icons. There must be a better way! Even changing it in your application is slightly better. The following code works for me, but i'm not to happy about it. //for switching on the stock id's in buttons for gtk+ under windows GtkSettings *sSettings = gtk_settings_get_default(); gtk_settings_set_string_property(sSettings, "gtk-button-images", "1", "C:\\GTK\\share\\themes\\MS-Windows\\gtk-2.0\\gtkrc:5"); Is there any way to change the gtk-button-images setting without changing the gtkrc file without using absolute paths? a gtk standard function or something, because I haven't found it. Thank in advance, Gerrie Slomp Surya Kiran Gullapalli wrote:
--
|
begin:vcard fn:Gerrie Slomp - Dynamicc Welding b.v. n:Slomp;Gerrie email;internet:g slomp dynamicc-welding biz tel;work:+31(0) 524 580 825 tel;fax:+31(0) 524 560 612 version:2.1 end:vcard