Tk Source Code

Artifact [73721bed]
Login

Artifact 73721bedbd0824f22e6da37b27577b1a9e62cd3b:

Attachment "None" to ticket [402834ff] added by nobody 2000-12-14 16:56:37.
Index: wm.n
===================================================================
RCS file: /cvsroot/tk/doc/wm.n,v
retrieving revision 1.5
diff -c -r1.5 wm.n
*** wm.n	2000/01/12 11:44:42	1.5
--- wm.n	2000/12/13 20:11:11
***************
*** 208,214 ****
  If \fIbitmap\fR is specified then the command returns an empty string.
  Otherwise it returns the name of
  the current icon bitmap associated with \fIwindow\fR, or an empty
! string if \fIwindow\fR has no icon bitmap.
  .TP
  \fBwm iconify \fIwindow\fR
  Arrange for \fIwindow\fR to be iconified.  It \fIwindow\fR hasn't
--- 208,223 ----
  If \fIbitmap\fR is specified then the command returns an empty string.
  Otherwise it returns the name of
  the current icon bitmap associated with \fIwindow\fR, or an empty
! string if \fIwindow\fR has no icon bitmap.  On the Windows operating
! system, an additional flag is supported: 
! \fBwm iconbitmap \fIwindow\fR ?\fI-default\fR? ?\fIimage\fR?.  
! If the \fI-default\fR
! flag is given, the icon is applied to all toplevel windows (existing
! and future) to which no other specific icon has yet been applied.
! In addition to bitmap image types, any file which contains a valid
! Windows icon is also accepted (usually .ico or .icr files).  Tcl will
! first test if the files contains an icon, and if that fails, test for
! a bitmap.
  .TP
  \fBwm iconify \fIwindow\fR
  Arrange for \fIwindow\fR to be iconified.  It \fIwindow\fR hasn't
***************
*** 501,506 ****
--- 510,518 ----
  operation of the \fBwm\fR command.  For example, some changes won't
  take effect if the window is already active:  the window will have
  to be withdrawn and de-iconified in order to make the change happen.
+ .PP
+ On the Windows operating system \fIwm iconbitmap\fR has no effect when
+ passed a bitmap: only icon files currently work properly.
  
  .SH KEYWORDS
  aspect ratio, deiconify, focus model, geometry, grid, group, icon, iconify, increments, position, size, title, top-level window, units, window manager