Hi everybody.
I'm working at a little python's applet for the gnome-panel, 
but some button icons don't show.
An example:
this is the code that show the image

self.PlayButton = gtk.Button()
self.PlayButtonImage = gtk.Image()
self.PlayButtonImage.set_from_stock("gtk-media-play",gtk.ICON_SIZE_BUTTON)
self.PlayButton.set_image(self.PlayButtonImage)
self.PlayButton.set_relief(gtk.RELIEF_NONE)
self.PlayButton.connect("clicked",self.myGestour.Play)
self.ButtonBar.add(self.PlayButton)

this not
self.PrevButton = gtk.Button()
self.PrevButtonImage = gtk.Image()
self.PrevButtonImage.set_from_stock(gtk.STOCK_MEDIA_PREVIOUS,gtk.ICON_SIZE_BUTTON)
self.PrevButton.set_image(self.PrevButtonImage)
self.PrevButton.set_relief(gtk.RELIEF_NONE)
self.PrevButton.connect("clicked",self.myGestour.Prev)
self.ButtonBar.add(self.PrevButton)

where I wrong?

--- 
Pasquale Boemio
[email protected]
[email protected]
MSN
Skype
Twitter
[email protected]
boemianrapsodi
HelloIAmPau

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to