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

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

?? tkfbox.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]	tkIconList_Select $w $rTag    }}# tkIconList_UpDown --## Moves the active element up or down by one element

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
777a∨成人精品桃花网| 国产69精品一区二区亚洲孕妇 | 国产精品国产三级国产三级人妇| 国产一区激情在线| 26uuu色噜噜精品一区| 国产mv日韩mv欧美| 国产精品久99| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 国产不卡在线一区| 国产精品大尺度| 欧美无乱码久久久免费午夜一区 | 一本一道久久a久久精品| 一区二区三区免费网站| 欧美精品丝袜久久久中文字幕| 免费人成在线不卡| 久久综合久久综合久久| 成人av网址在线| 亚洲成国产人片在线观看| 日韩欧美国产精品| 成人精品电影在线观看| 亚洲国产日韩综合久久精品| 欧美大片一区二区| 99免费精品在线| 丝袜美腿高跟呻吟高潮一区| 久久久五月婷婷| 色94色欧美sute亚洲线路一ni| 青青草原综合久久大伊人精品优势| xf在线a精品一区二区视频网站| 99久久精品免费观看| 免费日本视频一区| 亚洲丝袜美腿综合| 精品剧情在线观看| 日本二三区不卡| 国产在线日韩欧美| 亚洲大片在线观看| 亚洲国产精品精华液ab| 欧美精品成人一区二区三区四区| 国产精品系列在线观看| 亚洲va欧美va人人爽午夜| 国产欧美一区二区精品婷婷 | 欧美一区二区三区四区高清| 懂色av一区二区在线播放| 五月婷婷综合网| 亚洲欧洲av一区二区三区久久| 91精品国产全国免费观看| eeuss鲁片一区二区三区在线观看| 日韩精品乱码免费| 亚洲精品国产品国语在线app| 日韩免费视频线观看| 91豆麻精品91久久久久久| 国产成人精品亚洲日本在线桃色| 日本亚洲免费观看| 亚洲九九爱视频| 中文字幕高清不卡| 精品国产乱码久久久久久久久| 欧美亚洲日本一区| a亚洲天堂av| 国产大片一区二区| 开心九九激情九九欧美日韩精美视频电影 | 人禽交欧美网站| 亚洲小少妇裸体bbw| 国产精品国产三级国产专播品爱网| 日韩精品一区二区三区在线播放| 在线免费视频一区二区| 91丨九色丨黑人外教| 国产1区2区3区精品美女| 久久超级碰视频| 日本视频中文字幕一区二区三区| 亚洲一区二区三区四区的| 国产精品护士白丝一区av| 国产欧美日韩另类一区| 久久亚洲春色中文字幕久久久| 日韩欧美电影在线| 欧美一区二区三区视频| 欧美理论电影在线| 欧美日韩精品一区二区三区四区 | 国产精品1区2区3区| 精品一区二区三区免费视频| 蜜臀av国产精品久久久久| 日本中文字幕一区二区视频| 日韩高清一级片| 美女视频黄a大片欧美| 日本最新不卡在线| 狂野欧美性猛交blacked| 麻豆91免费看| 激情综合色丁香一区二区| 久久精品72免费观看| 理论片日本一区| 国产在线国偷精品免费看| 国产精品88888| 99久久久国产精品免费蜜臀| 色狠狠一区二区| 欧美浪妇xxxx高跟鞋交| 欧美一区二区三区免费| 欧美成人一区二区三区片免费 | 欧美男同性恋视频网站| 欧美精品777| 欧美电影免费观看高清完整版| 欧美mv和日韩mv的网站| www日韩大片| 亚洲欧美日韩电影| 亚洲午夜精品在线| 久久精品国产亚洲5555| 国产一本一道久久香蕉| 成人精品电影在线观看| 欧美性受xxxx| 国产精品一区免费在线观看| 日韩av一区二区三区| 老汉av免费一区二区三区| 色播五月激情综合网| 麻豆一区二区三| 国产很黄免费观看久久| 94-欧美-setu| 91精品国产综合久久精品麻豆 | 卡一卡二国产精品 | 91原创在线视频| 7777精品久久久大香线蕉| 久久综合精品国产一区二区三区| 最新高清无码专区| 日本午夜精品一区二区三区电影| 国产一区不卡视频| 欧美亚洲动漫精品| 久久精品一区蜜桃臀影院| 亚洲精品成人悠悠色影视| 免费国产亚洲视频| 91伊人久久大香线蕉| 日韩一区二区电影网| 亚洲欧美视频在线观看| 激情另类小说区图片区视频区| 一本一道综合狠狠老| 久久久无码精品亚洲日韩按摩| 一区二区三区在线观看国产| 国产一区二区日韩精品| 欧美三级视频在线观看 | 亚洲精品国产无套在线观| 久久国产精品露脸对白| 色妹子一区二区| 国产欧美日韩三级| 麻豆精品在线播放| 欧美性猛交xxxxxx富婆| 自拍偷拍亚洲激情| 国产一区二区三区久久悠悠色av | 免费成人av在线播放| 色www精品视频在线观看| 国产日韩精品视频一区| 蜜臀精品一区二区三区在线观看| 色综合色综合色综合| 国产日韩影视精品| 久久99精品国产91久久来源| 欧美性感一区二区三区| 亚洲免费观看视频| www.日本不卡| 国产精品久久久久久久久晋中 | 中文字幕一区二区三区乱码在线| 六月丁香综合在线视频| 欧美人xxxx| 午夜精品久久久久久| 欧美图区在线视频| 一区二区三区精密机械公司| 波多野结衣视频一区| 日本一区二区三区久久久久久久久不 | 欧美日韩激情一区二区| 亚洲男人天堂av网| 色综合久久九月婷婷色综合| 亚洲色欲色欲www| 成人av中文字幕| 国产精品理论片| av网站一区二区三区| 日韩毛片一二三区| 91偷拍与自偷拍精品| 亚洲天堂2014| 欧美午夜电影在线播放| 水蜜桃久久夜色精品一区的特点| 欧美日韩亚洲综合一区二区三区| 亚洲国产精品久久不卡毛片| 欧美色成人综合| 视频一区欧美日韩| 日韩午夜激情电影| 狠狠色狠狠色综合日日91app| 精品成人一区二区三区| 国产成人亚洲综合a∨婷婷图片| 久久久亚洲精华液精华液精华液 | 亚洲精品免费在线| 91国在线观看| 日韩av在线播放中文字幕| 日韩一区二区精品在线观看| 国产制服丝袜一区| 国产精品久久久久久久久免费樱桃 | 久久精品99国产精品日本| 精品国产一区二区在线观看| 国产精品99久久久久久有的能看| 五月综合激情日本mⅴ| 日韩午夜激情视频| 国产成人激情av| 亚洲制服欧美中文字幕中文字幕| 欧美日韩一级大片网址| 狠狠色丁香久久婷婷综| 亚洲欧美一区二区三区国产精品 | 欧美酷刑日本凌虐凌虐| 国产一区二区三区综合|