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

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

?? items.tcl

?? openRisc2000編譯鏈接器等,用于i386 cygwin
?? TCL
字號:
# items.tcl --## This demonstration script creates a canvas that displays the# canvas item types.## RCS: @(#) $Id: items.tcl,v 1.3 2001/06/14 10:56:58 dkf Exp $if {![info exists widgetDemo]} {    error "This script should be run from the \"widget\" demo."}set w .itemscatch {destroy $w}toplevel $wwm title $w "Canvas Item Demonstration"wm iconname $w "Items"positionWindow $wset c $w.frame.clabel $w.msg -font $font -wraplength 5i -justify left -text "This window contains a canvas widget with examples of the various kinds of items supported by canvases.  The following operations are supported:\n  Button-1 drag:\tmoves item under pointer.\n  Button-2 drag:\trepositions view.\n  Button-3 drag:\tstrokes out area.\n  Ctrl+f:\t\tprints items under area."pack $w.msg -side topframe $w.buttonspack $w.buttons -side bottom -fill x -pady 2mbutton $w.buttons.dismiss -text Dismiss -command "destroy $w"button $w.buttons.code -text "See Code" -command "showCode $w"pack $w.buttons.dismiss $w.buttons.code -side left -expand 1frame $w.framepack $w.frame -side top -fill both -expand yescanvas $c -scrollregion {0c 0c 30c 24c} -width 15c -height 10c \	-relief sunken -borderwidth 2 \	-xscrollcommand "$w.frame.hscroll set" \	-yscrollcommand "$w.frame.vscroll set"scrollbar $w.frame.vscroll -command "$c yview"scrollbar $w.frame.hscroll -orient horiz -command "$c xview"grid $c -in $w.frame \    -row 0 -column 0 -rowspan 1 -columnspan 1 -sticky newsgrid $w.frame.vscroll \    -row 0 -column 1 -rowspan 1 -columnspan 1 -sticky newsgrid $w.frame.hscroll \    -row 1 -column 0 -rowspan 1 -columnspan 1 -sticky newsgrid rowconfig    $w.frame 0 -weight 1 -minsize 0grid columnconfig $w.frame 0 -weight 1 -minsize 0# Display a 3x3 rectangular grid.$c create rect 0c 0c 30c 24c -width 2$c create line 0c 8c 30c 8c -width 2$c create line 0c 16c 30c 16c -width 2$c create line 10c 0c 10c 24c -width 2$c create line 20c 0c 20c 24c -width 2set font1 {Helvetica 12}set font2 {Helvetica 24 bold}if {[winfo depth $c] > 1} {    set blue DeepSkyBlue3    set red red    set bisque bisque3    set green SeaGreen3} else {    set blue black    set red black    set bisque black    set green black}# Set up demos within each of the areas of the grid.$c create text 5c .2c -text Lines -anchor n$c create line 1c 1c 3c 1c 1c 4c 3c 4c -width 2m -fill $blue \	-cap butt -join miter -tags item$c create line 4.67c 1c 4.67c 4c -arrow last -tags item$c create line 6.33c 1c 6.33c 4c -arrow both -tags item$c create line 5c 6c 9c 6c 9c 1c 8c 1c 8c 4.8c 8.8c 4.8c 8.8c 1.2c \	8.2c 1.2c 8.2c 4.6c 8.6c 4.6c 8.6c 1.4c 8.4c 1.4c 8.4c 4.4c \	-width 3 -fill $red -tags item$c create line 1c 5c 7c 5c 7c 7c 9c 7c -width .5c \	-stipple @[file join $tk_library demos images gray25.bmp] \	-arrow both -arrowshape {15 15 7} -tags item$c create line 1c 7c 1.75c 5.8c 2.5c 7c 3.25c 5.8c 4c 7c -width .5c \	-cap round -join round -tags item$c create text 15c .2c -text "Curves (smoothed lines)" -anchor n$c create line 11c 4c 11.5c 1c 13.5c 1c 14c 4c -smooth on \	-fill $blue -tags item$c create line 15.5c 1c 19.5c 1.5c 15.5c 4.5c 19.5c 4c -smooth on \	-arrow both -width 3 -tags item$c create line 12c 6c 13.5c 4.5c 16.5c 7.5c 18c 6c \	16.5c 4.5c 13.5c 7.5c 12c 6c -smooth on -width 3m -cap round \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $red -tags item$c create text 25c .2c -text Polygons -anchor n$c create polygon 21c 1.0c 22.5c 1.75c 24c 1.0c 23.25c 2.5c \	24c 4.0c 22.5c 3.25c 21c 4.0c 21.75c 2.5c -fill $green \	-outline black -width 4 -tags item$c create polygon 25c 4c 25c 4c 25c 1c 26c 1c 27c 4c 28c 1c \	29c 1c 29c 4c 29c 4c -fill $red -smooth on -tags item$c create polygon 22c 4.5c 25c 4.5c 25c 6.75c 28c 6.75c \	28c 5.25c 24c 5.25c 24c 6.0c 26c 6c 26c 7.5c 22c 7.5c \	-stipple @[file join $tk_library demos images gray25.bmp] \	-outline black -tags item$c create text 5c 8.2c -text Rectangles -anchor n$c create rectangle 1c 9.5c 4c 12.5c -outline $red -width 3m -tags item$c create rectangle 0.5c 13.5c 4.5c 15.5c -fill $green -tags item$c create rectangle 6c 10c 9c 15c -outline {} \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $blue -tags item$c create text 15c 8.2c -text Ovals -anchor n$c create oval 11c 9.5c 14c 12.5c -outline $red -width 3m -tags item$c create oval 10.5c 13.5c 14.5c 15.5c -fill $green -tags item$c create oval 16c 10c 19c 15c -outline {} \	-stipple @[file join $tk_library demos images gray25.bmp] \	-fill $blue -tags item$c create text 25c 8.2c -text Text -anchor n$c create rectangle 22.4c 8.9c 22.6c 9.1c$c create text 22.5c 9c -anchor n -font $font1 -width 4c \	-text "A short string of text, word-wrapped, justified left, and anchored north (at the top).  The rectangles show the anchor points for each piece of text." -tags item$c create rectangle 25.4c 10.9c 25.6c 11.1c$c create text 25.5c 11c -anchor w -font $font1 -fill $blue \	-text "Several lines,\n each centered\nindividually,\nand all anchored\nat the left edge." \	-justify center -tags item$c create rectangle 24.9c 13.9c 25.1c 14.1c$c create text 25c 14c -font $font2 -anchor c -fill $red -stipple gray50 \	-text "Stippled characters" -tags item$c create text 5c 16.2c -text Arcs -anchor n$c create arc 0.5c 17c 7c 20c -fill $green -outline black \	-start 45 -extent 270 -style pieslice -tags item$c create arc 6.5c 17c 9.5c 20c -width 4m -style arc \	-outline $blue -start -135 -extent 270 -tags item \	-outlinestipple @[file join $tk_library demos images gray25.bmp]$c create arc 0.5c 20c 9.5c 24c -width 4m -style pieslice \	-fill {} -outline $red -start 225 -extent -90 -tags item$c create arc 5.5c 20.5c 9.5c 23.5c -width 4m -style chord \	-fill $blue -outline {} -start 45 -extent 270  -tags item$c create text 15c 16.2c -text Bitmaps -anchor n$c create bitmap 13c 20c -tags item \	-bitmap @[file join $tk_library demos images face.bmp]$c create bitmap 17c 18.5c -tags item \	-bitmap @[file join $tk_library demos images noletter.bmp]$c create bitmap 17c 21.5c -tags item \	-bitmap @[file join $tk_library demos images letters.bmp]$c create text 25c 16.2c -text Windows -anchor nbutton $c.button -text "Press Me" -command "butPress $c $red"$c create window 21c 18c -window $c.button -anchor nw -tags itementry $c.entry -width 20 -relief sunken$c.entry insert end "Edit this text"$c create window 21c 21c -window $c.entry -anchor nw -tags itemscale $c.scale -from 0 -to 100 -length 6c -sliderlength .4c \	-width .5c -tickinterval 0$c create window 28.5c 17.5c -window $c.scale -anchor n -tags item$c create text 21c 17.9c -text Button: -anchor sw$c create text 21c 20.9c -text Entry: -anchor sw$c create text 28.5c 17.4c -text Scale: -anchor s# Set up event bindings for canvas:$c bind item <Any-Enter> "itemEnter $c"$c bind item <Any-Leave> "itemLeave $c"bind $c <2> "$c scan mark %x %y"bind $c <B2-Motion> "$c scan dragto %x %y"bind $c <3> "itemMark $c %x %y"bind $c <B3-Motion> "itemStroke $c %x %y"bind $c <Control-f> "itemsUnderArea $c"bind $c <1> "itemStartDrag $c %x %y"bind $c <B1-Motion> "itemDrag $c %x %y"# Utility procedures for highlighting the item under the pointer:proc itemEnter {c} {    global restoreCmd    if {[winfo depth $c] == 1} {	set restoreCmd {}	return    }    set type [$c type current]    if {$type == "window"} {	set restoreCmd {}	return    }    if {$type == "bitmap"} {	set bg [lindex [$c itemconf current -background] 4]	set restoreCmd [list $c itemconfig current -background $bg]	$c itemconfig current -background SteelBlue2	return    }    set fill [lindex [$c itemconfig current -fill] 4]    if {(($type == "rectangle") || ($type == "oval") || ($type == "arc"))	    && ($fill == "")} {	set outline [lindex [$c itemconfig current -outline] 4]	set restoreCmd "$c itemconfig current -outline $outline"	$c itemconfig current -outline SteelBlue2    } else {	set restoreCmd "$c itemconfig current -fill $fill"	$c itemconfig current -fill SteelBlue2    }}proc itemLeave {c} {    global restoreCmd    eval $restoreCmd}# Utility procedures for stroking out a rectangle and printing what's# underneath the rectangle's area.proc itemMark {c x y} {    global areaX1 areaY1    set areaX1 [$c canvasx $x]    set areaY1 [$c canvasy $y]    $c delete area}proc itemStroke {c x y} {    global areaX1 areaY1 areaX2 areaY2    set x [$c canvasx $x]    set y [$c canvasy $y]    if {($areaX1 != $x) && ($areaY1 != $y)} {	$c delete area	$c addtag area withtag [$c create rect $areaX1 $areaY1 $x $y \		-outline black]	set areaX2 $x	set areaY2 $y    }}proc itemsUnderArea {c} {    global areaX1 areaY1 areaX2 areaY2    set area [$c find withtag area]    set items ""    foreach i [$c find enclosed $areaX1 $areaY1 $areaX2 $areaY2] {	if {[lsearch [$c gettags $i] item] != -1} {	    lappend items $i	}    }    puts stdout "Items enclosed by area: $items"    set items ""    foreach i [$c find overlapping $areaX1 $areaY1 $areaX2 $areaY2] {	if {[lsearch [$c gettags $i] item] != -1} {	    lappend items $i	}    }    puts stdout "Items overlapping area: $items"}set areaX1 0set areaY1 0set areaX2 0set areaY2 0# Utility procedures to support dragging of items.proc itemStartDrag {c x y} {    global lastX lastY    set lastX [$c canvasx $x]    set lastY [$c canvasy $y]}proc itemDrag {c x y} {    global lastX lastY    set x [$c canvasx $x]    set y [$c canvasy $y]    $c move current [expr {$x-$lastX}] [expr {$y-$lastY}]    set lastX $x    set lastY $y}# Procedure that's invoked when the button embedded in the canvas# is invoked.proc butPress {w color} {    set i [$w create text 25c 18.1c -text "Ouch!!" -fill $color -anchor n]    after 500 "$w delete $i"}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美国十次综合导航| 国产精品一品二品| 三级影片在线观看欧美日韩一区二区| 中文字幕一区二区三区在线播放 | 美女一区二区久久| 日韩成人伦理电影在线观看| 美女一区二区视频| 高清不卡在线观看| 色综合久久久久综合99| 欧美挠脚心视频网站| 日韩欧美你懂的| 国产欧美精品日韩区二区麻豆天美| 中文字幕一区二区5566日韩| 一区二区三区在线观看视频 | 国产不卡免费视频| eeuss鲁片一区二区三区| 欧美在线高清视频| 欧美精品在线观看播放| 国产精品水嫩水嫩| 亚洲 欧美综合在线网络| 久久99久久99小草精品免视看| 国产91对白在线观看九色| 亚洲乱码中文字幕综合| 亚洲国产综合色| 国产一区二区福利| 欧美综合久久久| 久久久久久久久久看片| 亚洲一区二区三区中文字幕在线 | 在线免费一区三区| 日韩欧美的一区| 亚洲天堂2014| 美女脱光内衣内裤视频久久影院| 成人丝袜视频网| 欧美性感一区二区三区| 欧美高清视频一二三区 | 久久精品亚洲国产奇米99| 欧美电影免费观看高清完整版| 国产精品欧美精品| 一区二区三区四区激情| 国产精品99久久久久久久女警 | 日韩欧美激情在线| 亚洲特级片在线| 波多野结衣的一区二区三区| 26uuu成人网一区二区三区| 性欧美疯狂xxxxbbbb| 欧美性生交片4| 日本一区二区三级电影在线观看| 成人av小说网| 亚洲欧洲另类国产综合| 成人av影院在线| 911精品产国品一二三产区 | 国产高清不卡二三区| 欧美一区二区三区在线观看视频| 亚洲va欧美va人人爽午夜| 亚洲欧洲精品一区二区三区| 石原莉奈一区二区三区在线观看| 91欧美激情一区二区三区成人| 久久综合精品国产一区二区三区 | 欧美在线一区二区| 136国产福利精品导航| 国产福利一区二区三区在线视频| 久久嫩草精品久久久精品| 国产一区二区中文字幕| 国产欧美一区二区精品仙草咪| 国产成人av电影免费在线观看| 国产日韩精品一区二区浪潮av| 日韩高清中文字幕一区| 91精品国产aⅴ一区二区| 青青草97国产精品免费观看| 亚洲精品一区二区三区精华液| av亚洲精华国产精华精| 91啪亚洲精品| 麻豆精品国产91久久久久久| 欧美精品1区2区3区| 日韩在线一二三区| 欧美人xxxx| 青青草精品视频| 日韩一区二区三区精品视频| 美女任你摸久久| 精品国产自在久精品国产| 国产在线精品免费| 欧美激情一区在线| 91在线小视频| 性做久久久久久免费观看欧美| 在线成人小视频| 久久97超碰国产精品超碰| 精品国产99国产精品| 国产精品一区不卡| 亚洲人吸女人奶水| 欧美丝袜丝交足nylons| 男男gaygay亚洲| 国产日韩欧美一区二区三区综合| 成人午夜视频福利| 一区二区三区色| 7777精品伊人久久久大香线蕉的 | 欧美福利视频导航| 韩国欧美一区二区| 国产精品电影院| 欧美性xxxxxx少妇| 免费在线观看日韩欧美| 久久久久久电影| 一本一道久久a久久精品综合蜜臀| 亚洲一区二区三区在线| 日韩三级在线免费观看| 国产精品一区二区在线看| 国产成人精品一区二区三区四区| 亚洲国产精品精华液2区45| 91国偷自产一区二区开放时间 | 欧美一区二区三区日韩| 国产一区二区三区精品欧美日韩一区二区三区| 不卡的看片网站| 亚洲成人精品一区| 精品日韩在线观看| 91在线精品一区二区三区| 午夜精品爽啪视频| 中文字幕精品三区| 久久久久国产成人精品亚洲午夜| 精品婷婷伊人一区三区三| 在线亚洲欧美专区二区| 一本大道久久精品懂色aⅴ| 91在线精品一区二区| 8x福利精品第一导航| 91九色最新地址| 欧美日免费三级在线| 欧美另类久久久品| 欧美一区二区在线看| 日韩欧美国产系列| 国产丝袜欧美中文另类| 亚洲人成精品久久久久久| 亚洲综合激情网| 肉丝袜脚交视频一区二区| 日本最新不卡在线| 国产suv精品一区二区6| 色老综合老女人久久久| 日本一区二区三区四区在线视频| 亚洲国产精品麻豆| 九九精品一区二区| 欧美色图片你懂的| 久久久亚洲综合| 蜜臀av性久久久久蜜臀aⅴ四虎 | av电影天堂一区二区在线| 成人精品小蝌蚪| 这里是久久伊人| 中文字幕亚洲综合久久菠萝蜜| 成人av免费在线播放| 亚洲午夜久久久| 国产精品久久一卡二卡| av一区二区三区| 91精品国产综合久久香蕉的特点 | 久久精品视频一区二区三区| 欧美片网站yy| 色哟哟日韩精品| 成人免费视频一区| 狠狠色狠狠色综合| 日韩高清国产一区在线| 亚洲一线二线三线久久久| 日韩欧美在线网站| 一区二区三区四区不卡在线| 国产精品456| 日韩免费在线观看| 日韩成人一级大片| 99久久综合国产精品| 久久久欧美精品sm网站| 久久国产精品第一页| 欧美另类一区二区三区| 亚洲综合色丁香婷婷六月图片| av亚洲精华国产精华| 玖玖九九国产精品| 亚洲第一综合色| 五月婷婷欧美视频| 久久精品一区二区三区四区| 日韩欧美第一区| 欧美一区二区三区在线视频| 欧美高清激情brazzers| 欧美日韩国产高清一区二区| 欧美在线视频日韩| 在线一区二区三区四区五区| 色综合久久久久久久久| 色屁屁一区二区| 日本道精品一区二区三区| 一本大道久久精品懂色aⅴ| 日本道色综合久久| 欧美性猛片aaaaaaa做受| 欧美日韩一区不卡| 这里只有精品免费| 欧美成人精品高清在线播放 | 日韩精品一二三| 丝袜亚洲另类欧美综合| 日产国产高清一区二区三区 | 久久精品一区二区三区四区| 国产清纯白嫩初高生在线观看91 | 日本高清不卡一区| 欧美三级三级三级| 制服丝袜中文字幕一区| 精品国产乱子伦一区| 久久午夜色播影院免费高清| 久久精品一区二区三区四区| 国产精品天美传媒沈樵| 一区二区三区四区高清精品免费观看| 亚洲妇熟xx妇色黄|