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

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

?? tkfbox_sav.tcl

?? genesis 2000 v9.1軟件下載
?? TCL
?? 第 1 頁 / 共 3 頁
字號:
# tkfbox.tcl --##	Implements the "TK" standard file selection dialog box. This#	dialog box is used on the Unix platforms whenever the tk_strictMotif#	flag is not set.##	The "TK" standard file selection dialog box is similar to the#	file selection dialog box on Win95(TM). The user can navigate#	the directories by clicking on the folder icons or by#	selectinf the "Directory" option menu. The user can select#	files by clicking on the file icons or by entering a filename#	in the "Filename:" entry.## SCCS: @(#) tkfbox.tcl 1.12 97/07/22 15:19:55## 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.##----------------------------------------------------------------------##		      I C O N   L I S T## This is a pseudo-widget that implements the icon list inside the # tkFDialog dialog box.##----------------------------------------------------------------------# tkIconList --##	Creates an IconList widget.#proc tkIconList {w args} {    upvar #0 $w data    tkIconList_Config $w $args    tkIconList_Create $w}# tkIconList_Config --##	Configure the widget variables of IconList, according to the command#	line arguments.#proc tkIconList_Config {w argList} {    upvar #0 $w data    # 1: the configuration specs    #    set specs {	{-browsecmd "" "" ""}	{-command "" "" ""}    }    # 2: parse the arguments    #    tclParseConfigSpec $w $specs "" $argList}# tkIconList_Create --##	Creates an IconList widget by assembling a canvas widget and a#	scrollbar widget. Sets all the bindings necessary for the IconList's#	operations.#proc tkIconList_Create {w} {    upvar #0 $w data    frame $w    set data(sbar)   [scrollbar $w.sbar -orient horizontal \	-highlightthickness 0 -takefocus 0]    set data(canvas) [canvas $w.canvas -bd 2 -relief sunken \	-width 400 -height 120 -takefocus 1]    pack $data(sbar) -side bottom -fill x -padx 2    pack $data(canvas) -expand yes -fill both    $data(sbar) config -command "$data(canvas) xview"    $data(canvas) config -xscrollcommand "$data(sbar) set"    # Initializes the max icon/text width and height and other variables    #    set data(maxIW) 1    set data(maxIH) 1    set data(maxTW) 1    set data(maxTH) 1    set data(numItems) 0    set data(curItem)  {}    set data(noScroll) 1    # Creates the event bindings.    #    bind $data(canvas) <Configure> "tkIconList_Arrange $w"    bind $data(canvas) <1>         "tkIconList_Btn1 $w %x %y"    bind $data(canvas) <B1-Motion> "tkIconList_Motion1 $w %x %y"    bind $data(canvas) <Double-1>  "tkIconList_Double1 $w %x %y"    bind $data(canvas) <ButtonRelease-1> "tkCancelRepeat"    bind $data(canvas) <B1-Leave>  "tkIconList_Leave1 $w %x %y"    bind $data(canvas) <B1-Enter>  "tkCancelRepeat"    bind $data(canvas) <Up>        "tkIconList_UpDown $w -1"    bind $data(canvas) <Down>      "tkIconList_UpDown $w  1"    bind $data(canvas) <Left>      "tkIconList_LeftRight $w -1"    bind $data(canvas) <Right>     "tkIconList_LeftRight $w  1"    bind $data(canvas) <Return>    "tkIconList_ReturnKey $w"    bind $data(canvas) <KeyPress>  "tkIconList_KeyPress $w %A"    bind $data(canvas) <Control-KeyPress> ";"    bind $data(canvas) <Alt-KeyPress>  ";"    bind $data(canvas) <FocusIn>   "tkIconList_FocusIn $w"    return $w}# tkIconList_AutoScan --## This procedure is invoked when the mouse leaves an entry window# with button 1 down.  It scrolls the window up, down, left, or# right, depending on where the mouse left the window, and reschedules# itself as an "after" command so that the window continues to scroll until# the mouse moves back into the window or the mouse button is released.## Arguments:# w -		The IconList window.#proc tkIconList_AutoScan {w} {    upvar #0 $w data    global tkPriv    if {![winfo exists $w]} return    set x $tkPriv(x)    set y $tkPriv(y)    if $data(noScroll) {	return    }    if {$x >= [winfo width $data(canvas)]} {	$data(canvas) xview scroll 1 units    } elseif {$x < 0} {	$data(canvas) xview scroll -1 units    } elseif {$y >= [winfo height $data(canvas)]} {	# do nothing    } elseif {$y < 0} {	# do nothing    } else {	return    }    tkIconList_Motion1 $w $x $y    set tkPriv(afterId) [after 50 tkIconList_AutoScan $w]}# Deletes all the items inside the canvas subwidget and reset the IconList's# state.#proc tkIconList_DeleteAll {w} {    upvar #0 $w data    upvar #0 $w:itemList itemList    $data(canvas) delete all    catch {unset data(selected)}    catch {unset data(rect)}    catch {unset data(list)}    catch {unset itemList}    set data(maxIW) 1    set data(maxIH) 1    set data(maxTW) 1    set data(maxTH) 1    set data(numItems) 0    set data(curItem)  {}    set data(noScroll) 1    $data(sbar) set 0.0 1.0    $data(canvas) xview moveto 0}# Adds an icon into the IconList with the designated image and text#proc tkIconList_Add {w image text} {    upvar #0 $w data    upvar #0 $w:itemList itemList    upvar #0 $w:textList textList    set iTag [$data(canvas) create image 0 0 -image $image -anchor nw]    set tTag [$data(canvas) create text  0 0 -text  $text  -anchor nw \	-font $data(font)]    set rTag [$data(canvas) create rect  0 0 0 0 -fill "" -outline ""]        set b [$data(canvas) bbox $iTag]    set iW [expr [lindex $b 2]-[lindex $b 0]]    set iH [expr [lindex $b 3]-[lindex $b 1]]    if {$data(maxIW) < $iW} {	set data(maxIW) $iW    }    if {$data(maxIH) < $iH} {	set data(maxIH) $iH    }        set b [$data(canvas) bbox $tTag]    set tW [expr [lindex $b 2]-[lindex $b 0]]    set tH [expr [lindex $b 3]-[lindex $b 1]]    if {$data(maxTW) < $tW} {	set data(maxTW) $tW    }    if {$data(maxTH) < $tH} {	set data(maxTH) $tH    }        lappend data(list) [list $iTag $tTag $rTag $iW $iH $tW $tH $data(numItems)]    set itemList($rTag) [list $iTag $tTag $text $data(numItems)]    set textList($data(numItems)) [string tolower $text]    incr data(numItems)}# Places the icons in a column-major arrangement.#proc tkIconList_Arrange {w} {    upvar #0 $w data    if ![info exists data(list)] {	if {[info exists data(canvas)] && [winfo exists $data(canvas)]} {	    set data(noScroll) 1	    $data(sbar) config -command ""	}	return    }    set W [winfo width  $data(canvas)]    set H [winfo height $data(canvas)]    set pad [expr [$data(canvas) cget -highlightthickness] + \	[$data(canvas) cget -bd]]    if {$pad < 2} {	set pad 2    }    incr W -[expr $pad*2]    incr H -[expr $pad*2]    set dx [expr $data(maxIW) + $data(maxTW) + 8]    if {$data(maxTH) > $data(maxIH)} {	set dy $data(maxTH)    } else {	set dy $data(maxIH)    }    incr dy 2    set shift [expr $data(maxIW) + 4]    set x [expr $pad * 2]    set y [expr $pad * 1]    set usedColumn 0    foreach sublist $data(list) {	set usedColumn 1	set iTag [lindex $sublist 0]	set tTag [lindex $sublist 1]	set rTag [lindex $sublist 2]	set iW   [lindex $sublist 3]	set iH   [lindex $sublist 4]	set tW   [lindex $sublist 5]	set tH   [lindex $sublist 6]	set i_dy [expr ($dy - $iH)/2]	set t_dy [expr ($dy - $tH)/2]	$data(canvas) coords $iTag $x                 [expr $y + $i_dy]	$data(canvas) coords $tTag [expr $x + $shift] [expr $y + $t_dy]	$data(canvas) coords $tTag [expr $x + $shift] [expr $y + $t_dy]	$data(canvas) coords $rTag $x $y [expr $x+$dx] [expr $y+$dy]	incr y $dy	if {[expr $y + $dy] > $H} {	    set y [expr $pad * 1]	    incr x $dx	    set usedColumn 0	}    }    if {$usedColumn} {	set sW [expr $x + $dx]    } else {	set sW $x    }    if {$sW < $W} {	$data(canvas) config -scrollregion "$pad $pad $sW $H"	$data(sbar) config -command ""	$data(canvas) xview moveto 0	set data(noScroll) 1    } else {	$data(canvas) config -scrollregion "$pad $pad $sW $H"	$data(sbar) config -command "$data(canvas) xview"	set data(noScroll) 0    }    set data(itemsPerColumn) [expr ($H-$pad)/$dy]    if {$data(itemsPerColumn) < 1} {	set data(itemsPerColumn) 1    }    if {$data(curItem) != {}} {	tkIconList_Select $w [lindex [lindex $data(list) $data(curItem)] 2] 0    }}# Gets called when the user invokes the IconList (usually by double-clicking# or pressing the Return key).#proc tkIconList_Invoke {w} {    upvar #0 $w data    if {[string compare $data(-command) ""] && [info exists data(selected)]} {	eval $data(-command) [list $data(selected)]    }}# tkIconList_See --##	If the item is not (completely) visible, scroll the canvas so that#	it becomes visible.proc tkIconList_See {w rTag} {    upvar #0 $w data    upvar #0 $w:itemList itemList    if $data(noScroll) {	return    }    set sRegion [$data(canvas) cget -scrollregion]    if ![string compare $sRegion {}] {	return    }    if ![info exists itemList($rTag)] {	return    }    set bbox [$data(canvas) bbox $rTag]    set pad [expr [$data(canvas) cget -highlightthickness] + \	[$data(canvas) cget -bd]]    set x1 [lindex $bbox 0]    set x2 [lindex $bbox 2]    incr x1 -[expr $pad * 2]    incr x2 -[expr $pad * 1]    set cW [expr [winfo width $data(canvas)] - $pad*2]    set scrollW [expr [lindex $sRegion 2]-[lindex $sRegion 0]+1]    set dispX [expr int([lindex [$data(canvas) xview] 0]*$scrollW)]    set oldDispX $dispX    # check if out of the right edge    #    if {[expr $x2 - $dispX] >= $cW} {	set dispX [expr $x2 - $cW]    }    # check if out of the left edge    #    if {[expr $x1 - $dispX] < 0} {	set dispX $x1    }    if {$oldDispX != $dispX} {	set fraction [expr double($dispX)/double($scrollW)]	$data(canvas) xview moveto $fraction    }}proc tkIconList_SelectAtXY {w x y} {    upvar #0 $w data    tkIconList_Select $w [$data(canvas) find closest \	[$data(canvas) canvasx $x] [$data(canvas) canvasy $y]]}proc tkIconList_Select {w rTag {callBrowse 1}} {    upvar #0 $w data    upvar #0 $w:itemList itemList    if ![info exists itemList($rTag)] {	return    }    set iTag   [lindex $itemList($rTag) 0]    set tTag   [lindex $itemList($rTag) 1]    set text   [lindex $itemList($rTag) 2]    set serial [lindex $itemList($rTag) 3]    if ![info exists data(rect)] {        set data(rect) [$data(canvas) create rect 0 0 0 0 \	    -fill #a0a0ff -outline #a0a0ff]    }    $data(canvas) lower $data(rect)    set bbox [$data(canvas) bbox $tTag]    eval $data(canvas) coords $data(rect) $bbox    set data(curItem) $serial    set data(selected) $text        if {$callBrowse} {	if [string compare $data(-browsecmd) ""] {	    eval $data(-browsecmd) [list $text]	}    }}proc tkIconList_Unselect {w} {    upvar #0 $w data    if [info exists data(rect)] {	$data(canvas) delete $data(rect)	unset data(rect)    }    if [info exists data(selected)] {	unset data(selected)    }    set data(curItem)  {}}# Returns the selected item#proc tkIconList_Get {w} {    upvar #0 $w data    if [info exists data(selected)] {	return $data(selected)    } else {	return ""    }}proc tkIconList_Btn1 {w x y} {    upvar #0 $w data    focus $data(canvas)    tkIconList_SelectAtXY $w $x $y}# Gets called on button-1 motions#proc tkIconList_Motion1 {w x y} {    global tkPriv    set tkPriv(x) $x    set tkPriv(y) $y    tkIconList_SelectAtXY $w $x $y}proc tkIconList_Double1 {w x y} {    upvar #0 $w data    if {$data(curItem) != {}} {	tkIconList_Invoke $w    }}proc tkIconList_ReturnKey {w} {    tkIconList_Invoke $w}proc tkIconList_Leave1 {w x y} {    global tkPriv    set tkPriv(x) $x    set tkPriv(y) $y    tkIconList_AutoScan $w}proc tkIconList_FocusIn {w} {    upvar #0 $w data    if ![info exists data(list)] {	return    }    if {$data(curItem) == {}} {	set rTag [lindex [lindex $data(list) 0] 2]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99re视频这里只有精品| 日韩一区二区三免费高清| 欧美疯狂性受xxxxx喷水图片| 日韩一区二区三区免费观看| 最新日韩av在线| 久久9热精品视频| 欧美丝袜丝交足nylons图片| 中文字幕欧美激情一区| 久久精品国产亚洲5555| 欧美视频一区二区三区| 亚洲视频在线观看三级| 国产麻豆视频一区| 日韩欧美国产三级电影视频| 亚洲成人777| 色天使久久综合网天天| 国产精品欧美久久久久一区二区| 麻豆一区二区在线| 91影院在线免费观看| 黄网站免费久久| 国产一区二区三区日韩| 亚洲香肠在线观看| 久久久久久久网| 欧美日韩在线观看一区二区| 国产成人精品三级| 美女高潮久久久| 亚洲影视在线播放| 国产精品福利一区二区三区| 久久伊99综合婷婷久久伊| 亚洲国产精品自拍| www.欧美精品一二区| 国产精品污污网站在线观看| 国产一区不卡视频| 国产午夜亚洲精品理论片色戒| 日本亚洲欧美天堂免费| 在线电影一区二区三区| 天天操天天色综合| 欧美一区国产二区| 免费成人在线影院| 久久综合九色综合97婷婷女人| 国产一区二区91| 国产精品无码永久免费888| 97久久精品人人爽人人爽蜜臀| 亚洲精品视频免费观看| 91久久精品一区二区三区| 亚洲在线视频免费观看| 91超碰这里只有精品国产| 美女网站色91| 中日韩免费视频中文字幕| 99久久久无码国产精品| 亚洲一区二区三区不卡国产欧美| 在线国产电影不卡| 日韩电影一二三区| 国产亚洲欧美激情| www.成人网.com| 亚洲国产综合视频在线观看| 7777精品伊人久久久大香线蕉超级流畅| 午夜欧美电影在线观看| 日韩欧美国产综合一区| 懂色中文一区二区在线播放| 亚洲精品成人少妇| 欧美一级午夜免费电影| 国产成人在线免费| 亚洲午夜久久久久| 久久综合九色欧美综合狠狠| www.综合网.com| 日本不卡一区二区三区| 国产精品美女视频| av爱爱亚洲一区| 日本不卡一二三区黄网| 《视频一区视频二区| 欧美日本一区二区三区四区| 国产一区二区剧情av在线| 一区二区三区高清| 最新中文字幕一区二区三区| 亚洲一区二区3| 欧美tk—视频vk| 蜜桃视频在线观看一区| 欧美色视频在线| 亚洲天堂网中文字| 99视频在线精品| 国产精品免费aⅴ片在线观看| 日韩高清一区在线| 精品国产乱码久久久久久久久| 亚洲妇熟xx妇色黄| 成人免费精品视频| 国产麻豆视频一区二区| 亚洲综合色网站| 日本一区二区三区高清不卡| 91麻豆精品国产91久久久久久久久| 国产91丝袜在线18| 免费在线观看不卡| 亚洲国产精品一区二区久久| 国产精品美女久久久久aⅴ国产馆| 日韩欧美色综合| 欧美日本国产一区| 欧美在线一区二区三区| 国产白丝网站精品污在线入口| 亚洲午夜视频在线| 一区二区三区欧美久久| 国产精品久久久久9999吃药| 欧美精品一区二区三区在线| 欧美精品精品一区| 精品视频一区二区三区免费| 色哟哟欧美精品| 99久久99久久免费精品蜜臀| 丁香五精品蜜臀久久久久99网站| 亚洲午夜在线观看视频在线| 久久久久久久综合色一本| 91精品国产综合久久久久久| 国产在线不卡视频| 亚洲女厕所小便bbb| 久久美女艺术照精彩视频福利播放 | 欧美一级淫片007| 亚洲六月丁香色婷婷综合久久 | 91在线观看视频| 欧美日韩视频在线第一区 | 日韩精品电影一区亚洲| 国产成人av电影在线| 国产精品乱码人人做人人爱| 在线不卡欧美精品一区二区三区| 99国产欧美另类久久久精品| 成人综合激情网| 国产精品99久久不卡二区| 国产a久久麻豆| 精品一区二区av| av电影在线观看一区| 欧美丝袜丝交足nylons| 制服丝袜亚洲网站| 欧美日韩精品高清| 在线不卡中文字幕| 91在线无精精品入口| 91精品福利视频| 91免费国产在线| 欧美三级蜜桃2在线观看| 欧美精品xxxxbbbb| 欧美日韩免费一区二区三区| 亚洲精品一区在线观看| 欧美一区二区三区爱爱| 欧美色综合天天久久综合精品| 在线观看av一区二区| 成人动漫在线一区| www.av精品| 91偷拍与自偷拍精品| 国产又粗又猛又爽又黄91精品| 性久久久久久久久久久久| 午夜激情一区二区三区| 亚洲激情网站免费观看| 玉米视频成人免费看| 国产美女久久久久| 欧美tickling网站挠脚心| 中文字幕一区二区三区在线不卡| 亚洲国产精品成人综合| 免费在线观看精品| 91黄色在线观看| 欧美大片免费久久精品三p| 久久久久久久久伊人| 亚洲一区二区三区四区五区黄| 欧洲视频一区二区| 国产视频一区二区三区在线观看| av在线播放不卡| 欧美日韩精品电影| 久久精品一区二区三区不卡| 亚洲视频一区在线| 极品少妇xxxx偷拍精品少妇| 色哦色哦哦色天天综合| 精品国产sm最大网站免费看| 亚洲另类在线视频| 国产麻豆精品在线观看| 欧美日韩亚洲不卡| 中文字幕一区二区三区不卡 | 一区免费观看视频| 日本强好片久久久久久aaa| 本田岬高潮一区二区三区| 日韩欧美国产系列| 午夜视黄欧洲亚洲| 91亚洲午夜精品久久久久久| 久久欧美中文字幕| 美腿丝袜亚洲一区| 欧美日本一区二区三区四区| 中文字幕佐山爱一区二区免费| 国产一区二区三区不卡在线观看| 777久久久精品| 一区二区三区日韩欧美| 成人福利视频在线| 久久久综合精品| 精品制服美女久久| 7777女厕盗摄久久久| 一区二区日韩av| 色婷婷综合久久久| 亚洲欧洲性图库| 成人高清免费观看| 久久精品一区二区三区四区| 国内精品伊人久久久久av一坑| 欧美一区二区精品在线| 偷窥少妇高潮呻吟av久久免费| 欧美视频一二三区| 亚洲不卡一区二区三区| 欧美日韩久久一区| 午夜精品福利久久久| 欧美精品在线观看一区二区|