[Gambas-user] About the origin of Stock Icons
Bruce Steers
bsteers4 at gmail.com
Sat Feb 18 13:15:33 CET 2023
What code in the wiki ?
If i use this code from
https://gambaswiki.org/wiki/comp/gb.form/stock/icons...
Dim iconKey As String
Dim iconName As String
IconView1.Clear()
For Each iconKey In Stock.Icons
iconName = "icon:/medium/" & iconKey
IconView1.Add(iconKey, iconKey, Picture[iconName])
Next
I see all the icons just fine.
what desktop icon theme are you using? (i use gnome)
BruceS
On Sat, 18 Feb 2023 at 12:01, Jorge Carrión <shordi at gmail.com> wrote:
> I can't understand the origin of the stock icons. If the example of Gambas
> wiki is followed, only a few come out, returning null in most of them. This
> is the output of the attached project which only contains the prawn wiki
> code.
>
> [image: Captura de pantalla de 2023-02-18 12-47-37.png]
>
>
> However, by clicking on the properties window to add an icon in the IDE,
> they all appear... but they are different from the Stock ones.
> [image: Captura de pantalla de 2023-02-18 12-49-51.png]
>
> Could someone clarify where the icons that are finally shown in our
> projects come from? I imagine that the desktop theme is in the way but I
> can't figure out how all this works.
>
> Best Regards
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230218/2339b08b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2023-02-18 12-47-37.png
Type: image/png
Size: 44394 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230218/2339b08b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2023-02-18 12-49-51.png
Type: image/png
Size: 145478 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230218/2339b08b/attachment-0003.png>
More information about the User
mailing list