setWindowIcon
Script::setWindowIcon
Sets the window’s icon.
Declaration
void setWindowIcon(const Image& image, WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);
Parameters
Name |
Type |
Description |
---|---|---|
title |
const Image& |
The new icon of the window. |
windowID |
The window to change the title of. By default, this window will be the main window. |
Returns
None.
Notes
The main window will be used if windowID
is equal to NTSHENGN_WINDOW_UNKNOWN
.