⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bell.test

📁 linux系统下的音频通信
💻 TEST
字号:
# This file is a Tcl script to test out Tk's "bell" command.# It is organized in the standard fashion for Tcl tests.## Copyright (c) 1994 The Regents of the University of California.# Copyright (c) 1994-1996 Sun Microsystems, Inc.## See the file "license.terms" for information on usage and redistribution# of this file, and for a DISCLAIMER OF ALL WARRANTIES.## SCCS: @(#) bell.test 1.5 96/04/09 23:47:12if {[string compare test [info procs test]] == 1} {    source defs}test bell-1.1 {bell command} {    list [catch {bell a} msg] $msg} {1 {wrong # args: should be "bell ?-displayof window?"}}test bell-1.2 {bell command} {    list [catch {bell a b} msg] $msg} {1 {bad option "a": must be -displayof}}test bell-1.3 {bell command} {    list [catch {bell -displayof gorp} msg] $msg} {1 {bad window path name "gorp"}}test bell-1.4 {bell command} {    puts "Bell should ring now ..."    flush stdout    after 500    bell -displayof .    after 200    bell    after 200    bell} {}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -