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

📄 hlind.tcl

📁 这是一个Linux下的集成开发环境
💻 TCL
字号:
proc Test {} {    set h [tixHList .h -indicator 1 -indent 20]    pack $h -expand yes -fill both    button .b -text close -command "Done forced"    pack .b    $h add hello -text hello    $h add noind -text hello    test {$h indicator} {args}    test {$h indicator bad} {unknown}    # Test for create    #    #    test {$h indicator create} {args}    test {$h indicator create xyz} {{not found}}    test {$h indicator create hello -itemtype} {missing}    test {$h indicator create hello -itemtype bad} {unknown}    test {$h indicator create hello -itemtype imagetext \	-image [tix getimage plus]}    # Test for cget    #    test {$h indicator cget} {args}    test {$h indicator cget hello} {args}    test {$h indicator cget hello arg arg} {args}    test {$h indicator cget noind -text} {{does not have}}    test {$h indicator cget hello -bad} {{unknown}}    test {$h indicator cget hello -image}    # Test for size    #    test {$h indicator size} {args}    test {$h indicator size hello hi} {args}    test {$h indicator size bad} {{not found}}    test {$h indicator size noind} {{does not have}}    test {set x [$h indicator size hello]}    test {$h indicator cget hello -image} {{does not}}    # Test for delete    #    test {$h indicator delete} {args}    test {$h indicator delete hello hi} {args}    test {$h indicator delete bad} {{not found}}    test {$h indicator delete hello}    test {$h indicator cget hello -image} {{does not}}    update}

⌨️ 快捷键说明

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