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

>From      : [EMAIL PROTECTED]
To          : "[EMAIL PROTECTED]" [EMAIL PROTECTED]
Cc          : "pygtk" [email protected]
Date      : Sat, 18 Aug 2007 13:46:24 +0200
Subject : Re: [pygtk] Custom icons not showed!







> 2007/8/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > 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?

_______________________________________________
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