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

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

?? scrlbar.tcl

?? genesis 2000 v9.1軟件下載
?? TCL
字號:
# scrlbar.tcl --## This file defines the default bindings for Tk scrollbar widgets.# It also provides procedures that help in implementing the bindings.## SCCS: @(#) scrlbar.tcl 1.26 96/11/30 17:19:16## Copyright (c) 1994 The Regents of the University of California.# 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.##-------------------------------------------------------------------------# The code below creates the default class bindings for scrollbars.#-------------------------------------------------------------------------# Standard Motif bindings:if {($tcl_platform(platform) != "windows") &&    ($tcl_platform(platform) != "macintosh")} {bind Scrollbar <Enter> {    if $tk_strictMotif {	set tkPriv(activeBg) [%W cget -activebackground]	%W config -activebackground [%W cget -background]    }    %W activate [%W identify %x %y]}bind Scrollbar <Motion> {    %W activate [%W identify %x %y]}# The "info exists" command in the following binding handles the# situation where a Leave event occurs for a scrollbar without the Enter# event.  This seems to happen on some systems (such as Solaris 2.4) for# unknown reasons.bind Scrollbar <Leave> {    if {$tk_strictMotif && [info exists tkPriv(activeBg)]} {	%W config -activebackground $tkPriv(activeBg)    }    %W activate {}}bind Scrollbar <1> {    tkScrollButtonDown %W %x %y}bind Scrollbar <B1-Motion> {    tkScrollDrag %W %x %y}bind Scrollbar <B1-B2-Motion> {    tkScrollDrag %W %x %y}bind Scrollbar <ButtonRelease-1> {    tkScrollButtonUp %W %x %y}bind Scrollbar <B1-Leave> {    # Prevents <Leave> binding from being invoked.}bind Scrollbar <B1-Enter> {    # Prevents <Enter> binding from being invoked.}bind Scrollbar <2> {    tkScrollButton2Down %W %x %y}bind Scrollbar <B1-2> {    # Do nothing, since button 1 is already down.}bind Scrollbar <B2-1> {    # Do nothing, since button 2 is already down.}bind Scrollbar <B2-Motion> {    tkScrollDrag %W %x %y}bind Scrollbar <ButtonRelease-2> {    tkScrollButtonUp %W %x %y}bind Scrollbar <B1-ButtonRelease-2> {    # Do nothing:  B1 release will handle it.}bind Scrollbar <B2-ButtonRelease-1> {    # Do nothing:  B2 release will handle it.}bind Scrollbar <B2-Leave> {    # Prevents <Leave> binding from being invoked.}bind Scrollbar <B2-Enter> {    # Prevents <Enter> binding from being invoked.}bind Scrollbar <Control-1> {    tkScrollTopBottom %W %x %y}bind Scrollbar <Control-2> {    tkScrollTopBottom %W %x %y}bind Scrollbar <Up> {    tkScrollByUnits %W v -1}bind Scrollbar <Down> {    tkScrollByUnits %W v 1}bind Scrollbar <Control-Up> {    tkScrollByPages %W v -1}bind Scrollbar <Control-Down> {    tkScrollByPages %W v 1}bind Scrollbar <Left> {    tkScrollByUnits %W h -1}bind Scrollbar <Right> {    tkScrollByUnits %W h 1}bind Scrollbar <Control-Left> {    tkScrollByPages %W h -1}bind Scrollbar <Control-Right> {    tkScrollByPages %W h 1}bind Scrollbar <Prior> {    tkScrollByPages %W hv -1}bind Scrollbar <Next> {    tkScrollByPages %W hv 1}bind Scrollbar <Home> {    tkScrollToPos %W 0}bind Scrollbar <End> {    tkScrollToPos %W 1}}# tkScrollButtonDown --# This procedure is invoked when a button is pressed in a scrollbar.# It changes the way the scrollbar is displayed and takes actions# depending on where the mouse is.## Arguments:# w -		The scrollbar widget.# x, y -	Mouse coordinates.proc tkScrollButtonDown {w x y} {    global tkPriv    set tkPriv(relief) [$w cget -activerelief]    $w configure -activerelief sunken    set element [$w identify $x $y]    if {$element == "slider"} {	tkScrollStartDrag $w $x $y    } else {	tkScrollSelect $w $element initial    }}# tkScrollButtonUp --# This procedure is invoked when a button is released in a scrollbar.# It cancels scans and auto-repeats that were in progress, and restores# the way the active element is displayed.## Arguments:# w -		The scrollbar widget.# x, y -	Mouse coordinates.proc tkScrollButtonUp {w x y} {    global tkPriv    tkCancelRepeat    $w configure -activerelief $tkPriv(relief)    tkScrollEndDrag $w $x $y    $w activate [$w identify $x $y]}# tkScrollSelect --# This procedure is invoked when a button is pressed over the scrollbar.# It invokes one of several scrolling actions depending on where in# the scrollbar the button was pressed.## Arguments:# w -		The scrollbar widget.# element -	The element of the scrollbar that was selected, such#		as "arrow1" or "trough2".  Shouldn't be "slider".# repeat -	Whether and how to auto-repeat the action:  "noRepeat"#		means don't auto-repeat, "initial" means this is the#		first action in an auto-repeat sequence, and "again"#		means this is the second repetition or later.proc tkScrollSelect {w element repeat} {    global tkPriv    if {![winfo exists $w]} return    if {$element == "arrow1"} {	tkScrollByUnits $w hv -1    } elseif {$element == "trough1"} {	tkScrollByPages $w hv -1    } elseif {$element == "trough2"} {	tkScrollByPages $w hv 1    } elseif {$element == "arrow2"} {	tkScrollByUnits $w hv 1    } else {	return    }    if {$repeat == "again"} {	set tkPriv(afterId) [after [$w cget -repeatinterval] \		tkScrollSelect $w $element again]    } elseif {$repeat == "initial"} {	set delay [$w cget -repeatdelay]	if {$delay > 0} {	    set tkPriv(afterId) [after $delay tkScrollSelect $w $element again]	}    }}# tkScrollStartDrag --# This procedure is called to initiate a drag of the slider.  It just# remembers the starting position of the mouse and slider.## Arguments:# w -		The scrollbar widget.# x, y -	The mouse position at the start of the drag operation.proc tkScrollStartDrag {w x y} {    global tkPriv    if {[$w cget -command] == ""} {	return    }    set tkPriv(pressX) $x    set tkPriv(pressY) $y    set tkPriv(initValues) [$w get]    set iv0 [lindex $tkPriv(initValues) 0]    if {[llength $tkPriv(initValues)] == 2} {	set tkPriv(initPos) $iv0    } else {	if {$iv0 == 0} {	    set tkPriv(initPos) 0.0	} else {	    set tkPriv(initPos) [expr (double([lindex $tkPriv(initValues) 2])) \		    / [lindex $tkPriv(initValues) 0]]	}    }}# tkScrollDrag --# This procedure is called for each mouse motion even when the slider# is being dragged.  It notifies the associated widget if we're not# jump scrolling, and it just updates the scrollbar if we are jump# scrolling.## Arguments:# w -		The scrollbar widget.# x, y -	The current mouse position.proc tkScrollDrag {w x y} {    global tkPriv    if {$tkPriv(initPos) == ""} {	return    }    set delta [$w delta [expr $x - $tkPriv(pressX)] [expr $y - $tkPriv(pressY)]]    if [$w cget -jump] {	if {[llength $tkPriv(initValues)] == 2} {	    $w set [expr [lindex $tkPriv(initValues) 0] + $delta] \		    [expr [lindex $tkPriv(initValues) 1] + $delta]	} else {	    set delta [expr round($delta * [lindex $tkPriv(initValues) 0])]	    eval $w set [lreplace $tkPriv(initValues) 2 3 \		    [expr [lindex $tkPriv(initValues) 2] + $delta] \		    [expr [lindex $tkPriv(initValues) 3] + $delta]]	}    } else {	tkScrollToPos $w [expr $tkPriv(initPos) + $delta]    }}# tkScrollEndDrag --# This procedure is called to end an interactive drag of the slider.# It scrolls the window if we're in jump mode, otherwise it does nothing.## Arguments:# w -		The scrollbar widget.# x, y -	The mouse position at the end of the drag operation.proc tkScrollEndDrag {w x y} {    global tkPriv    if {$tkPriv(initPos) == ""} {	return    }    if [$w cget -jump] {	set delta [$w delta [expr $x - $tkPriv(pressX)] \		[expr $y - $tkPriv(pressY)]]	tkScrollToPos $w [expr $tkPriv(initPos) + $delta]    }    set tkPriv(initPos) ""}# tkScrollByUnits --# This procedure tells the scrollbar's associated widget to scroll up# or down by a given number of units.  It notifies the associated widget# in different ways for old and new command syntaxes.## Arguments:# w -		The scrollbar widget.# orient -	Which kinds of scrollbars this applies to:  "h" for#		horizontal, "v" for vertical, "hv" for both.# amount -	How many units to scroll:  typically 1 or -1.proc tkScrollByUnits {w orient amount} {    set cmd [$w cget -command]    if {($cmd == "") || ([string first \	    [string index [$w cget -orient] 0] $orient] < 0)} {	return    }    set info [$w get]    if {[llength $info] == 2} {	uplevel #0 $cmd scroll $amount units    } else {	uplevel #0 $cmd [expr [lindex $info 2] + $amount]    }}# tkScrollByPages --# This procedure tells the scrollbar's associated widget to scroll up# or down by a given number of screenfuls.  It notifies the associated# widget in different ways for old and new command syntaxes.## Arguments:# w -		The scrollbar widget.# orient -	Which kinds of scrollbars this applies to:  "h" for#		horizontal, "v" for vertical, "hv" for both.# amount -	How many screens to scroll:  typically 1 or -1.proc tkScrollByPages {w orient amount} {    set cmd [$w cget -command]    if {($cmd == "") || ([string first \	    [string index [$w cget -orient] 0] $orient] < 0)} {	return    }    set info [$w get]    if {[llength $info] == 2} {	uplevel #0 $cmd scroll $amount pages    } else {	uplevel #0 $cmd [expr [lindex $info 2] + $amount*([lindex $info 1] - 1)]    }}# tkScrollToPos --# This procedure tells the scrollbar's associated widget to scroll to# a particular location, given by a fraction between 0 and 1.  It notifies# the associated widget in different ways for old and new command syntaxes.## Arguments:# w -		The scrollbar widget.# pos -		A fraction between 0 and 1 indicating a desired position#		in the document.proc tkScrollToPos {w pos} {    set cmd [$w cget -command]    if {($cmd == "")} {	return    }    set info [$w get]    if {[llength $info] == 2} {	uplevel #0 $cmd moveto $pos    } else {	uplevel #0 $cmd [expr round([lindex $info 0]*$pos)]    }}# tkScrollTopBottom# Scroll to the top or bottom of the document, depending on the mouse# position.## Arguments:# w -		The scrollbar widget.# x, y -	Mouse coordinates within the widget.proc tkScrollTopBottom {w x y} {    global tkPriv    set element [$w identify $x $y]    if [string match *1 $element] {	tkScrollToPos $w 0    } elseif [string match *2 $element] {	tkScrollToPos $w 1    }    # Set tkPriv(relief), since it's needed by tkScrollButtonUp.    set tkPriv(relief) [$w cget -activerelief]}# tkScrollButton2Down# This procedure is invoked when button 2 is pressed over a scrollbar.# If the button is over the trough or slider, it sets the scrollbar to# the mouse position and starts a slider drag.  Otherwise it just# behaves the same as button 1.## Arguments:# w -		The scrollbar widget.# x, y -	Mouse coordinates within the widget.proc tkScrollButton2Down {w x y} {    global tkPriv    set element [$w identify $x $y]    if {($element == "arrow1") || ($element == "arrow2")} {	tkScrollButtonDown $w $x $y	return    }    tkScrollToPos $w [$w fraction $x $y]    set tkPriv(relief) [$w cget -activerelief]    # Need the "update idletasks" below so that the widget calls us    # back to reset the actual scrollbar position before we start the    # slider drag.    update idletasks    $w configure -activerelief sunken    $w activate slider    tkScrollStartDrag $w $x $y}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区美女| 精品国产乱码久久久久久牛牛| 国产精品一二三区在线| 美女视频黄 久久| 日韩电影免费在线| 午夜精品福利久久久| 亚洲sss视频在线视频| 午夜精品久久久久久久久久久 | 国产亚洲精品免费| 国产亚洲成av人在线观看导航| 国产欧美日韩精品a在线观看| 久久久三级国产网站| 一区二区三区在线观看视频| 亚洲中国最大av网站| 日韩电影在线免费观看| 91麻豆文化传媒在线观看| 欧美色图在线观看| 国产日韩欧美不卡在线| 一区二区三区成人| 国产一区二区三区观看| 在线观看日韩一区| 中文在线一区二区| 日韩精彩视频在线观看| 97se亚洲国产综合自在线不卡| 日韩一区二区高清| 亚洲精品videosex极品| 国产成人免费视频网站高清观看视频| 欧美亚男人的天堂| 久久久91精品国产一区二区三区| 五月婷婷另类国产| 99久久99久久精品国产片果冻| 亚洲欧美在线视频| 国产福利91精品| 久久久国产精品不卡| 美女视频黄 久久| 欧美一激情一区二区三区| 亚洲国产精品一区二区久久 | 国产剧情一区在线| 欧美变态tickle挠乳网站| 亚洲最大成人综合| 欧美日韩一级二级三级| 亚洲精品国产视频| 色婷婷亚洲婷婷| 亚洲夂夂婷婷色拍ww47| 欧美日韩在线精品一区二区三区激情| 一区二区三区成人| 在线区一区二视频| 亚洲综合偷拍欧美一区色| 欧美中文字幕亚洲一区二区va在线| 亚洲国产精品精华液ab| 99国产精品久| 男人的天堂亚洲一区| 欧美国产日韩a欧美在线观看| 99这里只有精品| 午夜欧美视频在线观看 | 亚洲一本大道在线| 91精品国产综合久久国产大片| 日韩精品一卡二卡三卡四卡无卡| 久久亚区不卡日本| 成人av资源在线| 亚洲午夜在线观看视频在线| 国产欧美日韩久久| 日韩欧美久久一区| 色综合一个色综合亚洲| 国产一区二区三区在线观看免费| 亚洲综合久久久久| 欧美一区2区视频在线观看| 成人免费视频app| 日韩激情中文字幕| 亚洲欧洲在线观看av| 精品福利一区二区三区| 精品视频在线免费观看| 国产成人在线观看免费网站| 久久99精品国产麻豆婷婷| 精品午夜久久福利影院 | 成人国产精品视频| 亚洲欧美日韩国产一区二区三区| 日韩精品一区在线观看| 亚洲二区在线视频| 久久久一区二区三区捆绑**| 亚洲自拍欧美精品| 国产一区二区三区四区五区美女| 一本到一区二区三区| 精品国产一区二区三区久久久蜜月 | 欧美日韩一本到| 欧美国产综合一区二区| 另类综合日韩欧美亚洲| 欧美亚洲国产一区二区三区va | 欧美亚洲禁片免费| 欧美韩国日本综合| 国产乱淫av一区二区三区| 欧美精选在线播放| 亚洲伊人伊色伊影伊综合网| 91无套直看片红桃| 国产亚洲欧美中文| 国产一区在线精品| 精品国产乱码久久久久久图片 | 精品无人码麻豆乱码1区2区| 337p亚洲精品色噜噜| 亚洲成av人影院| 欧美日韩国产精选| 麻豆精品视频在线观看视频| 日韩精品中文字幕在线不卡尤物| 捆绑调教一区二区三区| 亚洲精品一线二线三线无人区| 美女免费视频一区| 久久综合九色综合欧美就去吻| 国产精品中文字幕欧美| 国产精品大尺度| 在线观看免费成人| 日韩黄色免费电影| 久久综合色综合88| 成人国产免费视频| 亚洲国产综合在线| 欧美va日韩va| 色视频成人在线观看免| 日韩一区精品字幕| 亚洲国产精品激情在线观看| 在线亚洲一区观看| 精品一区二区成人精品| 综合网在线视频| 精品日韩在线观看| 色一情一伦一子一伦一区| 亚洲国产一区视频| 欧美精品一区二区三区很污很色的| 99麻豆久久久国产精品免费优播| 午夜欧美视频在线观看| 国产精品系列在线| 欧美在线观看视频一区二区三区| 日本成人在线不卡视频| 一区二区欧美国产| 欧美国产激情一区二区三区蜜月| 欧洲精品一区二区三区在线观看| 国内精品视频666| 日韩中文字幕av电影| 亚洲三级电影网站| 欧美国产日韩精品免费观看| 欧美一区欧美二区| 欧美三级欧美一级| 在线国产电影不卡| 欧美性猛交xxxx黑人交| 成人爽a毛片一区二区免费| 韩国av一区二区三区四区| 美女视频黄频大全不卡视频在线播放| 一卡二卡三卡日韩欧美| 国产精品久久久久久久久快鸭| 久久久av毛片精品| 中文字幕+乱码+中文字幕一区| 国产精品美女久久久久aⅴ| 国产三级精品视频| 中文字幕巨乱亚洲| 中文字幕一区二区三区乱码在线| 亚洲色图清纯唯美| 无吗不卡中文字幕| 精品伊人久久久久7777人| 国产老女人精品毛片久久| 国产成人精品三级| 99国产精品99久久久久久| 色综合久久天天| 欧美一级一级性生活免费录像| 欧美一级二级三级蜜桃| 日本一区二区免费在线| 亚洲色图在线播放| 美腿丝袜亚洲综合| 国产精品一品二品| 在线视频一区二区三区| 精品少妇一区二区三区日产乱码| 中文字幕日韩av资源站| 午夜视频一区二区三区| 国产在线国偷精品产拍免费yy| 成人av中文字幕| 7777精品久久久大香线蕉| 中文字幕 久热精品 视频在线| 亚洲成年人影院| 成人黄色小视频在线观看| 91国产免费观看| 亚洲精品在线一区二区| 亚洲精选免费视频| 精品一区精品二区高清| 99在线精品观看| 精品精品欲导航| 亚洲午夜免费福利视频| 99精品久久99久久久久| 国产日韩精品一区二区三区| 美女网站在线免费欧美精品| 欧美日韩国产另类不卡| 成人免费在线播放视频| 国产suv精品一区二区883| 日韩精品在线看片z| 美美哒免费高清在线观看视频一区二区| 91久久精品一区二区| 一区二区三区在线不卡| 色菇凉天天综合网| 亚洲激情校园春色| 欧美偷拍一区二区| 亚洲国产美女搞黄色| 欧美视频在线观看一区| 青娱乐精品在线视频| 日韩一区二区精品| 国产激情一区二区三区四区|