Where to find icons

Post

Posted
Rating:
#1 (In Topic #194)
Regular
bill-lancaster is in the usergroup ‘Regular’
 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
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
stevedee is in the usergroup ‘Regular’
 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
Online now: No Back to the top

Post

Posted
Rating:
#3
Regular
bill-lancaster is in the usergroup ‘Regular’
 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
Online now: No Back to the top
1 guest and 0 members have just viewed this.