The Stock icon class can be used to provide icons from the desktop you are running. For example the following code snippet will load all stock icons into a IconView called IconViewIcons. Each icon will have a 22 x 22 point size. You could change this number if you want a different point size.
PRIVATE SUB GetIcons()
DIM iconKey AS String
DIM iconName AS String
IconViewIcons.Clear()
FOR EACH iconKey IN Stock.List
' Name for 22x22 point size icons
iconName = "22/" & iconKey
IconViewIcons.Add(iconKey, iconKey, Stock[iconName])
NEXT
END
This class seems to work best with the KDE. With the Gnome desktops it is OK. It is supposed to use default icons with other desktops. Are you running Gnome or some other desktop?
This class is used by the Gambas IDE for the icons it displays so you have the look and feel of the Desktop you are running. The errors you are getting are because Gambas can not find the required icon on your system. Does the Gambas IDE fail to display some icons in its toolbars?
I am also currently running SUSE 10.1 with Gambas 1.9.44 with the KDE desktop. But I do not see these errors.