I'm struggling with this,
I have a project with a nice icon that I want to load with code in a new project
The original project has the icon loaded from the 'Picture' properties for the button. This shows as something like 'icon:/48/pause.png'
To load from code in the new project I need the full path, how can I find it?
Thanks
Where to find icons
-
- Posts: 195
- Joined: Tuesday 26th September 2017 3:17pm
- Location: NW England
Re: Where to find icons
My work-around is not to use stock icons.
- Close your project
- Use file manager to look for suitable icons in: /usr/share/icons
...for your example, maybe select: /usr/share/icons/gnome/32x32/actions/gtk-media-pause.png
- Copy selected icon to your Gambas project folder
- Open your project in Gambas, your selected icon should appear in Project file sidepanel
- Now use Icon from Project, not Stock
I hope this helps
- Close your project
- Use file manager to look for suitable icons in: /usr/share/icons
...for your example, maybe select: /usr/share/icons/gnome/32x32/actions/gtk-media-pause.png
- Copy selected icon to your Gambas project folder
- Open your project in Gambas, your selected icon should appear in Project file sidepanel
- Now use Icon from Project, not Stock
I hope this helps
-
- Posts: 195
- Joined: Tuesday 26th September 2017 3:17pm
- Location: NW England
Re: Where to find icons
Thank you stevedee, I was just going to post a reply to my own question which would have been exactly the same as your posting, right down to the file name and path!
Thanks again
Thanks again