Not sure if this is a bug or just a very annoying feature, but I can't get an image to appear on any of my buttons in Glade Designer.

Is there some property I need to change in order to force it to display the image?
|
Not sure if this is a bug or just a very annoying feature, but I can't get an image to appear on any of my buttons in Glade Designer.
Is there some property I need to change in order to force it to display the image? |
||||
|
|
|
I believe this is because by default (not sure if it's a GNOME-wide or GTK setting), no images are shown in buttons, so I'm not sure there is a way around it, either. This Stackoverflow question hints at stock images not shown in buttons because of that, which I assume it applies to custom images too. You might try the workaround mentioned in that question to see if it works for you:
What I have also noticed is that toolbar button images are not affected by this setting and are always shown. Simply make sure to prepend |
|||||
|
|
Everything is correct what you did actually...the file name "fb.ico" is the problem! give the full link there for your image. It will show your image in your glade window when you run a code. you know that :-) |
|||
|
|
|
You could also try to do it using Python if glade doesn't work for you:
|
|||
|
|
|
The steps below should work (from the look of your question you can start at step 5 but I've included all of them for future users).
You can see a screencast of this process from about 33 minutes onwards in the create your first app video Jono Bacon released. |
|||||||||||||||||||||
|