298
298
case the window manager will normally display the window's title,
299
299
as specified with the B<title> method).
301
=item I<$toplevel>-E<gt>B<iconphoto>(?-default? I<image1> ?I<image2>
304
Sets the titlebar icon for window based on the named photo
305
images. If -default is specified, this is applied to all future
306
created toplevels as well. The data in the images is taken as a
307
snapshot at the time of invocation. If the images are later
308
changed, this is not reflected to the titlebar icons. Multiple
309
images are accepted to allow different images sizes (eg, 16x16
310
and 32x32) to be provided. The window manager may scale pro-
311
vided icons to an appropriate size.
313
On Windows, the images are packed into a Windows icon structure.
314
This will override an ico specified to wm iconbitmap, and vice
315
versa. [NOTE: This is not implemented yet!]
317
On X, the images are arranged into the _NET_WM_ICON X property,
318
which most modern window managers support. A wm iconbitmap may
319
exist simultaneously. It is recommended to use not more than 2
320
icons, placing the larger icon first.
322
On Macintosh, this is currently does nothing.
301
324
=item I<$toplevel>-E<gt>B<iconposition>(?I<x y>?)
303
326
If I<x> and I<y> are specified, they are passed to the window