---------- Forwarded message ---------- From: Fabien Bodard <gambas...@gmail.com> Date: 2014-02-20 21:05 GMT+01:00 Subject: Re: [Gambas-user] Looking for icons To: "eilert-sprac...@t-online.de" <eilert-sprac...@t-online.de>
Stock is a library that take the picture on the system on 3 way First stock icon name is known in the stock list so there is a file that map the icon on defined known one : access apps/preferences-desktop-accessibility add actions/list-add apply actions/dialog-apply archive mimes/package-x-generic attach status/mail-attachment audio mimes/audio-x-generic battery devices/battery when you type "icon:/16/access" it search for "/usr/share/icons/theme/16x16/apps/preferences-desktop-accessibility.png" in fact it try to use scalable first and then the true required size and if not...the a size and stretch it if this icon is not found on the system on all inhrited themes for example oxygen>hicolor then it use internal stored icon. There is also a way to use an icon not registered in the icon list for example : picture["icon:/64/devices/scanner"] in this way you must to specify the icon category name and the icon name without the extention. the real path is "/usr/share/icons/oxygen/64x64/devices/scanner.png" I hope this help you to understand how stock work. Regards, -- Fabien Bodard -- Fabien Bodard -- Fabien Bodard ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user