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

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

?? items.tcl

?? linux 下的源代碼分析閱讀器 red hat公司新版
?? TCL
字號:
# items.tcl --## This demonstration script creates a canvas that displays the# canvas item types.## RCS: @(#) $Id: items.tcl 144 2003-02-05 10:56:26Z mdejong $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一区二区三区免费野_久草精品视频
亚洲与欧洲av电影| 日韩欧美一级二级三级久久久| 亚洲资源在线观看| 日韩精品一区在线| 色就色 综合激情| 久久99精品一区二区三区三区| 国产精品国产三级国产三级人妇| 91.com视频| 色素色在线综合| 国产精品一品二品| 日韩国产精品大片| 亚洲乱码中文字幕| 国产日产亚洲精品系列| 欧美三级资源在线| 99国产精品久久久久久久久久| 韩国精品主播一区二区在线观看 | 亚欧色一区w666天堂| 国产欧美一区二区精品性| 日韩一区二区电影在线| 欧美一区二区三区四区在线观看| 成人动漫视频在线| 国产精品白丝jk白祙喷水网站| heyzo一本久久综合| 色999日韩国产欧美一区二区| 亚洲欧美一区二区三区久本道91 | 成人深夜在线观看| 精品一区二区综合| 三级不卡在线观看| 亚洲成人免费视| 亚洲一区二区视频在线| 亚洲日本韩国一区| 成人欧美一区二区三区小说| 欧美极品另类videosde| 久久综合给合久久狠狠狠97色69| 日韩一级二级三级精品视频| 欧美久久一区二区| 欧美久久久久中文字幕| 欧美色涩在线第一页| 欧美亚洲国产一卡| 欧美在线免费播放| 精品视频在线免费观看| 欧美日韩日日骚| 欧美日韩精品综合在线| 欧美裸体bbwbbwbbw| 欧美日韩国产经典色站一区二区三区 | 国产亚洲欧美在线| 91精品久久久久久久99蜜桃| 欧美日韩国产高清一区二区| 欧美在线不卡视频| 欧美三级日韩三级国产三级| 欧美视频一区二区三区在线观看| 在线观看一区不卡| 欧美猛男男办公室激情| 91精品国产麻豆| 欧美mv和日韩mv的网站| 亚洲午夜久久久久久久久电影网| 自拍偷自拍亚洲精品播放| 亚洲欧美色一区| 亚洲午夜电影网| 免费欧美在线视频| 精品一区二区免费视频| 国产成人综合在线| 91丨九色丨国产丨porny| 91国在线观看| 欧美一区二区三区日韩| xfplay精品久久| 亚洲欧美日本韩国| 午夜不卡av在线| 国产在线播放一区三区四| 欧美肥妇bbw| 国产成人午夜精品5599| 成a人片亚洲日本久久| 99精品桃花视频在线观看| 欧美三级电影网站| 精品国产乱码久久久久久免费 | 乱中年女人伦av一区二区| 精品一区二区三区日韩| www.日韩大片| 欧美美女视频在线观看| 国产欧美精品在线观看| 亚洲国产aⅴ成人精品无吗| 乱一区二区av| 色爱区综合激月婷婷| 精品国产一区二区国模嫣然| 亚洲天堂成人网| 美国三级日本三级久久99| jizzjizzjizz欧美| 日韩免费观看高清完整版| 国产精品入口麻豆原神| 午夜精品免费在线| 成人激情黄色小说| 51久久夜色精品国产麻豆| 欧美国产综合色视频| 丝袜美腿高跟呻吟高潮一区| 国产91精品在线观看| 欧美精品在线观看播放| 国产精品嫩草久久久久| 美女精品自拍一二三四| 色屁屁一区二区| 国产亚洲欧美日韩在线一区| 亚洲成人av在线电影| 成人高清免费在线播放| 日韩欧美一级二级三级| 亚洲国产婷婷综合在线精品| 亚洲一级二级三级| 免费成人小视频| 91激情五月电影| 欧美精品一区二区三区一线天视频 | 日韩欧美久久一区| 亚洲视频你懂的| 精品一区二区av| 欧美偷拍一区二区| 中文字幕在线一区二区三区| 久久99热国产| 欧美日韩午夜在线| 亚洲精品成人天堂一二三| 国产风韵犹存在线视精品| 91麻豆精品国产| 亚洲小说欧美激情另类| 91影视在线播放| 中文字幕不卡在线播放| 国产在线视视频有精品| 日韩视频中午一区| 亚洲成人av一区| 在线观看一区不卡| 一区二区三区四区蜜桃| 91成人在线精品| 亚洲欧美aⅴ...| bt7086福利一区国产| 欧美极品美女视频| 成人丝袜高跟foot| 国产精品久久久久久久第一福利| 国产成人综合在线观看| 久久精品日韩一区二区三区| 韩国精品主播一区二区在线观看| 精品美女被调教视频大全网站| 日韩av在线播放中文字幕| 亚洲成人一二三| 91精品国产一区二区| 欧美bbbbb| 激情成人午夜视频| 欧美不卡一区二区三区四区| 奇米亚洲午夜久久精品| 日韩一区二区精品| 精品在线观看视频| 国产午夜精品美女毛片视频| 国产精品538一区二区在线| 久久久精品国产免大香伊| 国产高清成人在线| 中文字幕在线观看不卡| eeuss鲁片一区二区三区| 综合久久久久久| 欧美性色黄大片| 日韩高清一区在线| 欧美变态tickle挠乳网站| 国产老肥熟一区二区三区| 国产色产综合产在线视频| 成人福利电影精品一区二区在线观看| 国产精品女人毛片| 在线观看视频一区二区欧美日韩 | 一区二区在线免费观看| 欧美性猛片xxxx免费看久爱| 日本欧美一区二区三区乱码| 欧美成人乱码一区二区三区| 国产成人午夜精品影院观看视频 | 日韩欧美三级在线| 欧美日韩一区三区| 欧美日韩高清一区二区三区| 99久久免费精品| 国产精品一区二区黑丝| 男女视频一区二区| 免费成人在线网站| 精品在线观看免费| voyeur盗摄精品| 综合在线观看色| 色天天综合久久久久综合片| 午夜精品久久久久久久久久久| 精品国产乱码久久久久久牛牛| 成人免费视频caoporn| 一区二区三区在线观看网站| 日韩一区二区三区四区| 成人午夜在线免费| 亚洲国产成人高清精品| 国产日韩亚洲欧美综合| 欧美性生活一区| 经典三级在线一区| 成人欧美一区二区三区在线播放| 91精品欧美一区二区三区综合在 | 黄网站免费久久| 成人动漫av在线| 欧美理论在线播放| 日韩不卡免费视频| 国产精品丝袜在线| 91精品国产黑色紧身裤美女| 成人av影视在线观看| 天堂一区二区在线免费观看| 亚洲一区中文日韩| 久久网站最新地址| 欧美少妇xxx| 国产91在线观看|