diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-19 01:27:40 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-19 01:27:40 (GMT) |
commit | 723764223de1369ba09d97d9b425374430b09622 (patch) | |
tree | 95c6d997a9463598d66fbd5bf9cb8cadef30fe42 /tests/wm.test | |
parent | 28053b1a27d092bf3359ed2cca2caa0803eb2b7c (diff) | |
download | tk-723764223de1369ba09d97d9b425374430b09622.zip tk-723764223de1369ba09d97d9b425374430b09622.tar.gz tk-723764223de1369ba09d97d9b425374430b09622.tar.bz2 |
TIP #359: Extended window manager hints support for X11.
Modern unix window managers use a set of window properties to give
hints as to the purpose of a toplevel window. They then use these
hints to apply various animation and decoration options based on the
type (dialog, menu, tooltip and more).
This patch adds a [wm attributes $w -type] option to control and read
the type hint and makes use of this for the ttk::combobox and the
dialogs raised from the Tk library scripts.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'tests/wm.test')
-rw-r--r-- | tests/wm.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test index 1fd024f..0aa229a 100644 --- a/tests/wm.test +++ b/tests/wm.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: wm.test,v 1.47 2010/01/06 09:25:15 dkf Exp $ +# RCS: @(#) $Id: wm.test,v 1.48 2010/01/19 01:27:41 patthoyts Exp $ # This file tests window manager interactions that work across platforms. # Window manager tests that only work on a specific platform should be placed @@ -139,7 +139,7 @@ test wm-attributes-1.2.3 {usage} -constraints win -returnCodes error -body { } -result {wrong # args: should be "wm attributes window ?-alpha ?double?? ?-transparentcolor ?color?? ?-disabled ?bool?? ?-fullscreen ?bool?? ?-toolwindow ?bool?? ?-topmost ?bool??"} test wm-attributes-1.2.4 {usage} -constraints {unix notAqua} -returnCodes error -body { wm attributes . _ -} -result {bad attribute "_": must be -alpha, -topmost, -zoomed, or -fullscreen} +} -result {bad attribute "_": must be -alpha, -topmost, -zoomed, -fullscreen, or -type} test wm-attributes-1.2.5 {usage} -constraints aqua -returnCodes error -body { wm attributes . _ } -result {bad attribute "_": must be -alpha, -modified, -notify, or -titlepath} |