Use the ICON field to specify the icon used in File Manager and Application Manager for the action icons created for the action.
If you do not specify an icon, the system uses the default action icon image files /usr/dt/appconfig/icons/language/Dtactn.*.
The default action icon can be changed using the resource:
*actionIcon: icon_file_name
where icon_file_name can be a base name or absolute path.
The value of the ICON field can be:
A base file name
The base file name is the name of the file containing the icon image minus the file-name suffixes for size (m and t) and image type (bm and pm). For example, if files are named GameIcon.m.pm and GameIcon.t.pm, use GameIcon.
If you use the base file name, the icon files must be placed in a directory on the icon search path:
Personal icons: HomeDirectory/.dt/icons
System-wide icons: /etc/dt/appconfig/icons/language
An absolute path to the icon file, including the full file name
You should use the absolute path only if the icon file is not located on the icon search path. For example, if icon file GameIcon.m.pm is placed in the directory /doc/projects, which is not on the icon search path, the value of the ICON field would be /doc/projects/GameIcon.m.pm.
Table 12–1 lists icon sizes you should create and the corresponding file names.
Size in Pixels |
Bitmap Name |
Pixmap Name |
---|---|---|
48 by 48 |
name.l.bm |
name.l.pm |
32 by 32 |
name.m.bm |
name.m.pm |
16 by 16 |
name.t.bm |
name.t.pm |