亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? filesel.tcl

?? 用FPGA verilog hdl實現千兆以太網MAC。
?? TCL
字號:
## fileselect.tcl --# simple file selector.## Mario Jorge Silva			          msilva@cs.Berkeley.EDU# University of California Berkeley                 Ph:    +1(510)642-8248# Computer Science Division, 571 Evans Hall         Fax:   +1(510)642-5775# Berkeley CA 94720                                 # # Layout:##  file:                  +----+#  ____________________   | OK |#                         +----+##  +------------------+    Cancel#  | ..               |S#  | file1            |c#  | file2            |r#  |                  |b#  | filen            |a#  |                  |r#  +------------------+#  currrent-directory## Copyright 1993 Regents of the University of California# Permission to use, copy, modify, and distribute this# software and its documentation for any purpose and without# fee is hereby granted, provided that this copyright# notice appears in all copies.  The University of California# makes no representations about the suitability of this# software for any purpose.  It is provided "as is" without# express or implied warranty.## Copyright 1996# Slight modifications to and adoption to Tk4.0 were made to this# fileselectionbox code by Lakshmi Sastry, Rutherford Appleton Laboratory,# chilton, Didcot, OXON, OX11 0QX, UK.# You can now type in a non-existing file name as well. This file name is# returned for the application to open a new file to write to # AGOCG Tcl/Tk Cookbook# Authors# Lakshmi Sastry# Computing and Information Systems Department# Rutherford Appleton Laboratory, Chilton, Didcot. OX11 0QX# lakshmi.sastry@rl.ac.uk#                         and# Venkat VSS Sastry# Department of Applied Mathematics and Operational Research# Cranfield University, RMCS Shrivenham, Swindon, SN6 8LA# sastry@rmcs.cran.ac.uk# Permission to use, copy, modify, and distribute this# software and its documentation for any purpose and without# fee is hereby granted, provided that this copyright# notice appears in all copies.  # The authors, RAL, RMCS Shrivenham, Cranfield University and AGOCG# make no representations about the suitability of this# software for any purpose.  It is provided "as is" without# express or implied warranty. Likewise they accept no responsibility# whatsoever for any public domain software modules used (which are# hereby acknowledged) in this software # names starting with "fileselect" are reserved by this module# no other names used.# use the "option" command for further configurationoption add *Listbox*font \    "-*-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1" startupFileoption add *Entry*font \    "-*-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1" startupFileoption add *Label*font \    "-*-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1" startupFile# this is the default proc  called when "OK" is pressed# to indicate yours, give it as the first arg to "fileselect"proc fileselect.default.cmd {f} {global fileselectset fileselect(selectedfile) $fset fileselect(canceled) 0#puts stderr "selected file $f" }# this is the default proc called when error is detected# indicate your own pro as an argument to fileselectproc fileselect.default.errorHandler {errorMessage} {    puts stdout "error: $errorMessage"    catch { cd ~ }}# this is the proc that creates the file selector boxproc fileselect {    {cmd fileselect.default.cmd}     {purpose "Open file:"}     {w .fileSelectWindow}     {errorHandler fileselect.default.errorHandler}} {    catch {destroy $w}    toplevel $w    grab $w    wm title $w "Select File"    # path independent names for the widgets    global fileselect    global selected    set fileselect(entry) $w.file.eframe.entry    set fileselect(list) $w.file.sframe.list     set fileselect(scroll) $w.file.sframe.scroll    set fileselect(ok) $w.bframe.okframe.ok    set fileselect(cancel) $w.bframe.cancel    set fileselect(dirlabel) $w.file.dirlabel    # widgets    frame $w.file -bd 10     frame $w.bframe -bd 10    pack append $w \        $w.file {left filly} \        $w.bframe {left expand frame n}    frame $w.file.eframe    frame $w.file.sframe    label $w.file.dirlabel -anchor e -width 24 -text [pwd]     pack append $w.file \        $w.file.eframe {top frame w} \	$w.file.sframe {top fillx} \	$w.file.dirlabel {top frame w}    label $w.file.eframe.label -anchor w -width 24 -text $purpose    entry $w.file.eframe.entry -relief sunken     pack append $w.file.eframe \		$w.file.eframe.label {top expand frame w} \                $w.file.eframe.entry {top fillx frame w}     scrollbar $w.file.sframe.yscroll -relief sunken \	 -command "$w.file.sframe.list yview"    listbox $w.file.sframe.list -relief sunken -selectmode single \	-yscroll "$w.file.sframe.yscroll set"     #$fileselect(list) configure -selectmode single    pack append $w.file.sframe \        $w.file.sframe.yscroll {right filly} \ 	$w.file.sframe.list {left expand fill}     # buttons    frame $w.bframe.okframe -borderwidth 2 -relief sunken     button $w.bframe.okframe.ok -text OK -relief raised -padx 10 \        -command "fileselect.ok.cmd $w $cmd $errorHandler"    button $w.bframe.cancel -text cancel -relief raised -padx 10 \        -command "fileselect.cancel.cmd $w"    pack append $w.bframe.okframe $w.bframe.okframe.ok {padx 10 pady 10}    pack append $w.bframe $w.bframe.okframe {expand padx 20 pady 20}\                          $w.bframe.cancel {top}    # Fill the listbox with a list of the files in the directory (run    # the "/bin/ls" command to get that information).    # to not display the "." files, remove the -a option and fileselect    # will still work     $fileselect(list) insert end ".."    foreach i [exec ls -a [pwd]] {        if {[string compare $i "."] != 0 && \	    [string compare $i ".."] != 0 } {            $fileselect(list) insert end $i        }    }   # Set up bindings for the browser.    bind $fileselect(entry) <Return> {eval $fileselect(ok) invoke}     bind $fileselect(entry) <Control-c> {eval $fileselect(cancel) invoke}    bind $fileselect(list) <Button-1> {        # puts stderr "button 1 release"	set x [$fileselect(list) curselection]	$fileselect(entry) delete 0 end	$fileselect(entry) insert 0 [%W get [%W nearest %y]]    }    bind $fileselect(list) <Key> {	set x [$fileselect(list) curselection]        $fileselect(entry) delete 0 end	$fileselect(entry) insert 0 [%W get [%W nearest %y]]    }    bind $fileselect(list) <Double-ButtonPress-1> {        # puts stderr "double button 1"       	set x [$fileselect(list) curselection]	$fileselect(entry) delete 0 end	$fileselect(entry) insert 0 [%W get [%W nearest %y]]	$fileselect(ok) invoke    }    bind $fileselect(list) <Return> {	set x [$fileselect(list) curselection]	$fileselect(entry) delete 0 end	$fileselect(entry) insert 0 [%W get [%W nearest %y]]	$fileselect(ok) invoke    }    # set kbd focus to entry widget    focus $fileselect(entry)}# auxiliary button proceduresproc fileselect.cancel.cmd {w} {    # puts stderr "Cancel"    global fileselect    set fileselect(canceled) 1    destroy $w}proc fileselect.ok.cmd {w cmd errorHandler} {    global fileselect   global selected    set selected [$fileselect(entry) get]        # some nasty file names may cause "file isdirectory" to return an error    set sts [catch { 	file isdirectory $selected    }  errorMessage ]    if { $sts != 0 } then {	$errorHandler $errorMessage	destroy $w	return    }    # clean the text entry and prepare the list      $fileselect(entry) delete 0 end      $fileselect(list) delete 0 end      $fileselect(list) insert end ".."    # perform globbing on the selection.     # If globing returns an error (no match) check if a non-null name is    # entered. If name string is non-empty return it as a new file name    # else give an error message.    # If resulting list length > 1, put the list on the file listbox and return    # If globing expands to a list of filenames in multiple directories,    # the indicated regexp is invalid and the error handler is called instead.set globlist 0    set sts [catch {	set globlist [glob [list $selected]]    } errorMessage ]    if { $sts != 0 } then {	if { [llength $globlist] == 1 } {		destroy $w		$cmd $selected		return 	} else {	$errorHandler $errorMessage	destroy $w	return   	 }	    }     if {[llength $globlist] > 1} {	if {[regexp "/" $globlist] != 0} {	    $errorHandler [list "Invalid regular expression, " $selected, "."]	    destroy $w	    return	}	foreach i $globlist {	    if {[string compare $i "."] != 0 && \		[string compare $i ".."] != 0} {		$fileselect(list) insert end $i	    }	}	return    }    # selection may be a directory. Expand it.    if {[file isdirectory $selected] != 0} {	cd $selected	set dir [pwd]	$fileselect(dirlabel) configure -text $dir	foreach i [exec ls -a $dir] {	    if {[string compare $i "."] != 0 && \		[string compare $i ".."] != 0} {		$fileselect(list) insert end $i	    }	}	return    }    destroy $w    $cmd $selected	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品精华液2区45| 亚洲观看高清完整版在线观看 | 丝袜美腿亚洲色图| 免费成人你懂的| 欧洲国内综合视频| 国产欧美日韩视频一区二区| 美腿丝袜亚洲色图| 欧美又粗又大又爽| 亚洲欧美日韩综合aⅴ视频| 国产一区二区三区免费播放| 欧美精品aⅴ在线视频| 亚洲精选在线视频| av色综合久久天堂av综合| 欧美精品一区二区久久婷婷| 一区二区三区 在线观看视频| 国产精品一级片在线观看| 5月丁香婷婷综合| 夜夜爽夜夜爽精品视频| 成人av网在线| 中文在线一区二区| 国产成人aaa| 日本一区二区视频在线观看| 看片的网站亚洲| 精品日韩一区二区三区| 秋霞午夜av一区二区三区| 69精品人人人人| 天天综合天天综合色| 欧美性受极品xxxx喷水| 亚洲香蕉伊在人在线观| 欧美日韩在线一区二区| 亚洲国产一区视频| 欧美精品高清视频| 日韩国产高清在线| 欧美成人艳星乳罩| 免费成人在线观看| 日韩精品中文字幕一区| 老司机精品视频一区二区三区| 日韩一区二区高清| 美女在线观看视频一区二区| 日韩欧美亚洲国产另类| 国模冰冰炮一区二区| 精品国产凹凸成av人导航| 狠狠色狠狠色综合日日91app| 精品国产露脸精彩对白| 国产99精品视频| 最新日韩在线视频| 欧美探花视频资源| 久久激情综合网| 中文字幕免费一区| 欧洲精品在线观看| 日本亚洲电影天堂| 久久无码av三级| 91麻豆精品秘密| 午夜精品久久久久| 久久久精品免费网站| av亚洲精华国产精华| 五月婷婷综合在线| 精品国产伦一区二区三区免费| 国产高清不卡一区| 亚洲一区二区成人在线观看| 欧美大片日本大片免费观看| 欧美日韩成人综合| 国精品**一区二区三区在线蜜桃| 亚洲欧洲av另类| 91精品国产品国语在线不卡| 国产精品1区2区3区| 一区二区三区中文在线| 欧美r级在线观看| 99九九99九九九视频精品| 午夜av一区二区| 国产欧美日韩另类一区| 欧美日本视频在线| www.欧美日韩| 日韩电影免费一区| 久久只精品国产| 欧美在线综合视频| 国产一区二区三区免费播放 | 亚洲综合久久久久| 日韩欧美国产综合| 色综合久久综合网欧美综合网| 亚洲sss视频在线视频| 中文字幕不卡一区| 欧美妇女性影城| 91在线观看视频| 精品写真视频在线观看| 亚洲精品自拍动漫在线| 精品国产凹凸成av人导航| 欧美午夜理伦三级在线观看| 国产一本一道久久香蕉| 亚洲高清不卡在线观看| 亚洲欧洲av在线| 久久综合九色综合欧美亚洲| 欧美日韩中字一区| 成人av综合一区| 国产一区二区三区观看| 日本不卡在线视频| 一区二区三区加勒比av| 国产精品全国免费观看高清| 日韩免费看网站| 欧美日本一区二区三区四区| 91网页版在线| 懂色av噜噜一区二区三区av| 国内一区二区在线| 天天亚洲美女在线视频| 久久久久久影视| 91精品久久久久久久久99蜜臂| 91黄色激情网站| 欧洲日韩一区二区三区| 色一区在线观看| 91色|porny| 91亚洲国产成人精品一区二三| 国产成人小视频| 狠狠色综合日日| 国产精选一区二区三区| 精品一区二区三区在线观看国产| 日本 国产 欧美色综合| 午夜私人影院久久久久| 亚洲电影第三页| 热久久一区二区| 久久精品国产一区二区| 精品一区二区免费| 国产老肥熟一区二区三区| 激情综合色综合久久综合| 韩日精品视频一区| 视频在线观看91| 青青草成人在线观看| 久久成人免费网站| 国产一区二区导航在线播放| 国产在线播放一区二区三区| 成人免费在线视频| 国产精品素人一区二区| 最近中文字幕一区二区三区| 日韩理论片一区二区| 亚洲亚洲精品在线观看| 日韩va亚洲va欧美va久久| 国产米奇在线777精品观看| 国产一区视频在线看| 国产一区二区三区香蕉| 成人av片在线观看| 在线一区二区视频| 精品国精品国产尤物美女| 国产欧美精品一区| 亚洲女同女同女同女同女同69| 亚洲尤物视频在线| 久久精品国产一区二区| caoporn国产一区二区| 欧美无砖专区一中文字| 日韩欧美视频在线| 久久精品一区蜜桃臀影院| 中文字幕人成不卡一区| 无码av免费一区二区三区试看| 精品一区二区三区香蕉蜜桃| 99久久精品久久久久久清纯| 精品婷婷伊人一区三区三| 久久在线观看免费| 最新不卡av在线| 精品一区二区三区的国产在线播放| 成熟亚洲日本毛茸茸凸凹| 欧美日韩三级在线| 久久久精品国产免大香伊| 一区二区三区av电影| 国产麻豆91精品| 欧美亚洲图片小说| 国产性天天综合网| 亚洲成人免费看| 国产999精品久久| 91精品国产aⅴ一区二区| 国产精品免费视频网站| 日韩国产欧美在线视频| 成人激情免费视频| 欧美一卡二卡在线观看| 中文字幕一区二区三中文字幕| 美女www一区二区| 欧美性受xxxx| 久久久久久久精| 蜜桃视频在线观看一区| 91国产福利在线| 18欧美乱大交hd1984| 国产在线麻豆精品观看| 欧美精品少妇一区二区三区| 国产精品的网站| 豆国产96在线|亚洲| 欧美一级二级三级乱码| 亚洲国产视频一区| 91麻豆文化传媒在线观看| 欧美激情中文字幕| 国产电影一区二区三区| 日韩一区二区在线观看| 亚洲一区二区三区在线| 色综合天天在线| 国产精品久久久久久久久免费相片 | 欧美成人午夜电影| 日韩一区精品字幕| 欧美日韩精品欧美日韩精品一| ...xxx性欧美| 91性感美女视频| 亚洲女与黑人做爰| 一本一道波多野结衣一区二区| 日本一区二区综合亚洲| 国产成人在线影院|