Fwd:Re: [pygtk] Custom icons not showed!

v.isca at inwind.it v.isca at inwind.it
Sun Aug 19 00:43:14 WST 2007


---------- Initial Header -----------

>From      : g.tagliaretti at gmail.com
To          : "v.isca at inwind.it" v.isca at inwind.it
Cc          : "pygtk" pygtk at daa.com.au
Date      : Sat, 18 Aug 2007 13:46:24 +0200
Subject : Re: [pygtk] Custom icons not showed!







> 2007/8/18, v.isca at inwind.it <v.isca at inwind.it>:
> > Hi! Can someone explain me why does xfce not shows custom icons on toolbuttons? Thanks!
> 
> I'm pretty sure that providing an example and a more detailed
> explanation of the problem will make thing easier for who wants to
> help you.
> 
> cheers
> -- 
> Gian Mario Tagliaretti
> 

Ok thanks! I have edited some custom icons in png format and I've added 
them inside the toolbuttons of a toolbar. I've tested the application with KDE, fluxbox and other windows managers, only Xfce don't show the 
custom icons. Here is how I construct them:

image18=gtk.Image()
image18.set_from_file('icons/select_all.png')
self.toolbutton18.get_child().get_child().pack_start(image18)

etc...

Maybe I have to add a different dimension copy?



More information about the pygtk mailing list