亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
成人午夜电影久久影院| 欧美性感一类影片在线播放| 国产福利一区二区三区视频在线| 国v精品久久久网| 色综合天天天天做夜夜夜夜做| 日本道色综合久久| 欧美影院一区二区| 2023国产精品视频| 亚洲制服欧美中文字幕中文字幕| 一区二区三国产精华液| 国模冰冰炮一区二区| 91精品福利在线| 久久精品免视看| 日日夜夜精品视频天天综合网| 国产一区二区三区免费观看| 在线视频国内自拍亚洲视频| 制服丝袜中文字幕亚洲| 成人免费在线播放视频| 久久丁香综合五月国产三级网站| 色综合久久综合网| 久久久激情视频| 日韩精品五月天| 99精品视频在线观看| 久久久五月婷婷| 视频一区二区中文字幕| 色天天综合色天天久久| 欧美经典一区二区| 亚洲一二三级电影| av中文字幕亚洲| 亚洲国产精品99久久久久久久久 | 成人av动漫网站| 精品国产百合女同互慰| 日韩电影在线观看网站| 欧美日韩免费视频| 国产精品毛片大码女人 | 国产精品成人免费精品自在线观看 | 亚洲综合区在线| a级精品国产片在线观看| 国产色一区二区| 韩国一区二区三区| 日韩精品一区二区在线| 日日欢夜夜爽一区| 欧美日韩色一区| 无吗不卡中文字幕| 在线精品视频小说1| 国产欧美日本一区视频| 精品亚洲国内自在自线福利| 日韩欧美一级片| 麻豆国产91在线播放| 日韩欧美亚洲一区二区| 蜜桃av一区二区在线观看| 欧美一区二区三区在线看| 午夜精品福利视频网站| 精品视频一区三区九区| 石原莉奈在线亚洲二区| 在线电影院国产精品| 毛片av中文字幕一区二区| 日韩欧美的一区二区| 国内精品国产成人国产三级粉色 | 日韩三区在线观看| 蜜臀av一级做a爰片久久| 欧美一区二区三区婷婷月色| 蜜桃久久久久久| 国产网站一区二区| 国产一区二三区| 国产欧美日韩另类视频免费观看| 精品一区二区在线播放| 国产欧美一区二区精品性色超碰 | 激情综合五月天| 国产欧美精品在线观看| 91免费观看视频| 亚洲成人动漫精品| 精品久久久网站| 99久久精品99国产精品 | www.欧美精品一二区| 亚洲精品国产精华液| 欧美高清精品3d| 国产精品66部| 亚洲老司机在线| 91福利社在线观看| 五月天亚洲婷婷| 国产亚洲成av人在线观看导航| 99久久伊人久久99| 亚洲国产日韩综合久久精品| 精品日本一线二线三线不卡| thepron国产精品| 视频一区中文字幕国产| 中文成人综合网| 色老汉一区二区三区| 久久精品av麻豆的观看方式| 国产精品福利av| 日韩免费一区二区三区在线播放| 成人免费三级在线| 日韩精品一区第一页| 国产精品乱码一区二三区小蝌蚪| 91官网在线观看| 国产99久久久精品| 蜜桃av一区二区在线观看| 亚洲视频一二区| 精品久久久久久久久久久院品网 | av在线不卡观看免费观看| 精品成a人在线观看| 91福利小视频| 成人性生交大片免费| 日av在线不卡| 一个色在线综合| 中文字幕第一区二区| 欧美精品日韩一区| voyeur盗摄精品| 国产成人综合精品三级| 日本不卡1234视频| 亚洲自拍欧美精品| 中文字幕一区二区三区av| 欧美日韩国产区一| 在线观看日韩精品| www.欧美亚洲| 成人免费视频播放| 国产精品1区2区3区在线观看| 蜜臀av性久久久久蜜臀av麻豆| 国产精品无圣光一区二区| 亚洲精品一区二区三区在线观看 | 国内精品国产成人国产三级粉色| 亚洲.国产.中文慕字在线| 亚洲精品中文在线影院| 精品欧美久久久| 日韩一卡二卡三卡| 日韩欧美一区二区三区在线| 这里只有精品视频在线观看| 欧美色综合影院| 91久久精品午夜一区二区| 99国产精品99久久久久久| 成人一区二区三区| 成a人片国产精品| 成人国产电影网| 91国内精品野花午夜精品| 欧美福利视频导航| 精品国产一区二区精华 | 久久久久国产精品厨房| 中文字幕亚洲区| 天天影视网天天综合色在线播放| 久久精品久久精品| 国产91精品在线观看| 欧美性三三影院| 久久亚洲捆绑美女| 亚洲精品第一国产综合野| 肉色丝袜一区二区| 粉嫩在线一区二区三区视频| 成人h动漫精品一区二| 精品视频一区二区不卡| 久久久久久黄色| 亚洲一区二区三区免费视频| 经典三级视频一区| 色婷婷av一区二区三区软件| 欧美不卡视频一区| 亚洲精品视频免费观看| 激情久久五月天| 欧美性大战xxxxx久久久| 国产日韩欧美电影| 五月天视频一区| 91香蕉视频在线| 国产亚洲欧美激情| 日韩精品亚洲一区| 91麻豆免费看片| 国产欧美精品一区二区色综合| 亚洲成人av在线电影| 99久久国产免费看| 久久先锋资源网| 日韩1区2区3区| 在线观看网站黄不卡| 亚洲欧洲成人自拍| 国产精品一线二线三线| 欧美一区二区三区在| 亚洲伊人伊色伊影伊综合网| 国产盗摄视频一区二区三区| 欧美性猛交xxxx乱大交退制版| 中文字幕第一区二区| 国产麻豆精品一区二区| 在线综合亚洲欧美在线视频| 伊人婷婷欧美激情| 91丨porny丨中文| 欧美激情一区二区三区不卡| 久久成人免费网| 777午夜精品视频在线播放| 亚洲视频小说图片| 99re这里只有精品首页| 中文字幕成人av| 国产成人超碰人人澡人人澡| 久久久久久久久久久黄色| 久久99最新地址| 精品国精品国产| 韩日精品视频一区| 久久亚洲综合色| 国产成人精品免费| 亚洲国产岛国毛片在线| 成人自拍视频在线| 国产精品午夜春色av| 成人动漫一区二区| 日韩一区在线免费观看| 91色在线porny| 亚洲在线视频一区|