Window.setDefaultIcon

Set the default icon for this window. This is applied to all future child windows as well.

The data in the images is taken as a snapshot at the time of invocation. If the images are later changed, this is not reflected to the titlebar icons. Multiple images are accepted to allow different images sizes (e.g., 16x16 and 32x32) to be provided. The window manager may scale provided icons to an appropriate size.

class Window
setDefaultIcon
(
this T
)

Parameters

images Image[]

A variadic list of images.

Return Value

Type: auto

This window to aid method chaining.

Meta