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

📄 applicationframework.tcl

📁 是TCL的另外一个编译(解释)器
💻 TCL
字号:
#!/bin/sh
# The next line is executed by /bin/sh, but not by tcl \
exec wish "$0" ${1+"$@"}

################################################################################
# This is a standard template for executable Tk-applications
################################################################################

package require Tk

global AppRootDir

set AppRootDir [file dirname [info script]]
if { [file type $argv0] == "link" } {
    set AppRootDir [file dirname [file readlink $argv0]]
} else {
    set AppRootDir [file dirname $argv0]
}

proc initApp {argc argv} {
    if {$argc >= 1} {
        foreach arg $argv {
            #enter code here if application was started with additional args
        }
    } else  {
        #enter code here if application was started without args
    }
}

initApp $argc $argv

⌨️ 快捷键说明

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