Tk Source Code

Artifact [e332ca8d]
Login

Artifact e332ca8d8cb14c910c7f95df31eedf73cb077fd4:

Attachment "wmattrnotify.patch" to ticket [1176605f] added by revar 2005-04-05 03:27:29.
Index: macosx/tkMacOSXWm.c
===================================================================
RCS file: /cvsroot/tktoolkit/tk/macosx/tkMacOSXWm.c,v
retrieving revision 1.16
diff -u -r1.16 tkMacOSXWm.c
--- macosx/tkMacOSXWm.c	23 Mar 2005 22:17:31 -0000	1.16
+++ macosx/tkMacOSXWm.c	4 Apr 2005 20:22:35 -0000
@@ -845,7 +845,7 @@
 
     if ( (objc - 3) % 2 != 0 ) {
 	Tcl_WrongNumArgs(interp, 3, objv,
-	    "?-modified ?bool?? ?-titlepath ?path?? ?-alpha ?double??");
+	    "?-modified ?bool?? ?-titlepath ?path?? ?-alpha ?double?? ?-notify ?bool??");
 	return TCL_ERROR;
     }
     for (i = 3; i < objc; i += 2) {
Index: doc/wm.n
===================================================================
RCS file: /cvsroot/tktoolkit/tk/doc/wm.n,v
retrieving revision 1.22
diff -u -r1.22 wm.n
--- doc/wm.n	17 Feb 2005 00:06:08 -0000	1.22
+++ doc/wm.n	4 Apr 2005 20:22:35 -0000
@@ -80,7 +80,8 @@
 the window proxy icon (which can be dragged and dropped in lieu of the file's
 finder icon). \fB\-alpha\fR sets the alpha transparency level of the window,
 it accepts a value from \fB0.0\fR (fully transparent) to \fB1.0\fR (opaque),
-values outside that range will be constrained.
+values outside that range will be constrained. \fB\-notify\fR takes a boolean
+value, which if true, causes the dock icon for the application to bounce.
 .PP
 On Unix, there are currently no special attribute values.
 .RE