| superclass(es) | object |
| subclass(es) | - |
| description | The icon class can be used for loading icon resources. |
| see also | canvas - frame |
The icon class has different methods
for loading icons, the load/2 method is used for loading icons from
the executable file and other methods for loading system icons like for instance loadAsterisk/0. After an icon resource was loaded the same icon
instance can still be used for loading other icons. |
| func | Load an icon from the executable file. |
| pre | The Name variable must contain the name of the icon. |
| post | If the icon was successfully loaded then Output was assigned true, else it was assigned false. |
| func | Determine if the current loaded icon is a system icon or from the executable file. |
| pre | TRUE. |
| post | If the icon is a system icon then Output was assigned true, else it was assigned false. |
| func | Get the dimensions of the icon in pixels. |
| pre | TRUE. |
| post | The width and height of the icon were assigned to the variables X and Y. |
| func | Load the system icon for applications. |
| pre | TRUE. |
| post | The system application icon was loaded. |
| func | Load the system asterisk icon. |
| pre | TRUE. |
| post | The system asterisk icon was loaded. |
| func | Load the system exclamation icon. |
| pre | TRUE. |
| post | The system exclamation icon was loaded. |
| func | Load the system hand icon. |
| pre | TRUE. |
| post | The system hand icon was loaded. |
| func | Load the system question icon. |
| pre | TRUE. |
| post | The system question icon was loaded. |