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

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

?? menu.tcl

?? genesis 2000 v9.1軟件下載
?? TCL
?? 第 1 頁 / 共 3 頁
字號:
# menu.tcl --## This file defines the default bindings for Tk menus and menubuttons.# It also implements keyboard traversal of menus and implements a few# other utility procedures related to menus.## SCCS: @(#) menu.tcl 1.97 97/08/13 10:58:34## Copyright (c) 1992-1994 The Regents of the University of California.# Copyright (c) 1994-1997 Sun Microsystems, Inc.## See the file "license.terms" for information on usage and redistribution# of this file, and for a DISCLAIMER OF ALL WARRANTIES.##-------------------------------------------------------------------------# Elements of tkPriv that are used in this file:## cursor -		Saves the -cursor option for the posted menubutton.# focus -		Saves the focus during a menu selection operation.#			Focus gets restored here when the menu is unposted.# grabGlobal -		Used in conjunction with tkPriv(oldGrab):  if#			tkPriv(oldGrab) is non-empty, then tkPriv(grabGlobal)#			contains either an empty string or "-global" to#			indicate whether the old grab was a local one or#			a global one.# inMenubutton -	The name of the menubutton widget containing#			the mouse, or an empty string if the mouse is#			not over any menubutton.# menuBar -		The name of the menubar that is the root#			of the cascade hierarchy which is currently#			posted. This is null when there is no menu currently#			being pulled down from a menu bar.# oldGrab -		Window that had the grab before a menu was posted.#			Used to restore the grab state after the menu#			is unposted.  Empty string means there was no#			grab previously set.# popup -		If a menu has been popped up via tk_popup, this#			gives the name of the menu.  Otherwise this#			value is empty.# postedMb -		Name of the menubutton whose menu is currently#			posted, or an empty string if nothing is posted#			A grab is set on this widget.# relief -		Used to save the original relief of the current#			menubutton.# window -		When the mouse is over a menu, this holds the#			name of the menu;  it's cleared when the mouse#			leaves the menu.# tearoff -		Whether the last menu posted was a tearoff or not.#			This is true always for unix, for tearoffs for Mac#			and Windows.#-------------------------------------------------------------------------#-------------------------------------------------------------------------# Overall note:# This file is tricky because there are four different ways that menus# can be used:## 1. As a pulldown from a menubutton.  This is the most common usage.#    In this style, the variable tkPriv(postedMb) identifies the posted#    menubutton.# 2. As a torn-off menu copied from some other menu.  In this style#    tkPriv(postedMb) is empty, and the top-level menu is no#    override-redirect.# 3. As an option menu, triggered from an option menubutton.  In thi#    style tkPriv(postedMb) identifies the posted menubutton.# 4. As a popup menu.  In this style tkPriv(postedMb) is empty and#    the top-level menu is override-redirect.## The various binding procedures use the  state described above to# distinguish the various cases and take different actions in each# case.#-------------------------------------------------------------------------#-------------------------------------------------------------------------# The code below creates the default class bindings for menus# and menubuttons.#-------------------------------------------------------------------------bind Menubutton <FocusIn> {}bind Menubutton <Enter> {    tkMbEnter %W}bind Menubutton <Leave> {    tkMbLeave %W}bind Menubutton <1> {    if {$tkPriv(inMenubutton) != ""} {	tkMbPost $tkPriv(inMenubutton) %X %Y    }}bind Menubutton <Motion> {    tkMbMotion %W up %X %Y}bind Menubutton <B1-Motion> {    tkMbMotion %W down %X %Y}bind Menubutton <ButtonRelease-1> {    tkMbButtonUp %W}bind Menubutton <space> {    tkMbPost %W    tkMenuFirstEntry [%W cget -menu]}# Must set focus when mouse enters a menu, in order to allow# mixed-mode processing using both the mouse and the keyboard.# Don't set the focus if the event comes from a grab release,# though:  such an event can happen after as part of unposting# a cascaded chain of menus, after the focus has already been# restored to wherever it was before menu selection started.bind Menu <FocusIn> {}bind Menu <Enter> {    set tkPriv(window) %W    if {[%W cget -type] == "tearoff"} {	if {"%m" != "NotifyUngrab"} {	    if {$tcl_platform(platform) == "unix"} {		tk_menuSetFocus %W	    }	}    }    tkMenuMotion %W %x %y %s}bind Menu <Leave> {    tkMenuLeave %W %X %Y %s}bind Menu <Motion> {    tkMenuMotion %W %x %y %s}bind Menu <ButtonPress> {    tkMenuButtonDown %W}bind Menu <ButtonRelease> {   tkMenuInvoke %W 1}bind Menu <space> {    tkMenuInvoke %W 0}bind Menu <Return> {    tkMenuInvoke %W 0}bind Menu <Escape> {    tkMenuEscape %W}bind Menu <Left> {    tkMenuLeftArrow %W}bind Menu <Right> {    tkMenuRightArrow %W}bind Menu <Up> {    tkMenuUpArrow %W}bind Menu <Down> {    tkMenuDownArrow %W}bind Menu <KeyPress> {    tkTraverseWithinMenu %W %A}# The following bindings apply to all windows, and are used to# implement keyboard menu traversal.if {$tcl_platform(platform) == "unix"} {    bind all <Alt-KeyPress> {	tkTraverseToMenu %W %A    }    bind all <F10> {	tkFirstMenu %W    }} else {    bind Menubutton <Alt-KeyPress> {	tkTraverseToMenu %W %A    }    bind Menubutton <F10> {	tkFirstMenu %W    }}# tkMbEnter --# This procedure is invoked when the mouse enters a menubutton# widget.  It activates the widget unless it is disabled.  Note:# this procedure is only invoked when mouse button 1 is *not* down.# The procedure tkMbB1Enter is invoked if the button is down.## Arguments:# w -			The  name of the widget.proc tkMbEnter w {    global tkPriv    if {$tkPriv(inMenubutton) != ""} {	tkMbLeave $tkPriv(inMenubutton)    }    set tkPriv(inMenubutton) $w    if {[$w cget -state] != "disabled"} {	$w configure -state active    }}# tkMbLeave --# This procedure is invoked when the mouse leaves a menubutton widget.# It de-activates the widget, if the widget still exists.## Arguments:# w -			The  name of the widget.proc tkMbLeave w {    global tkPriv    set tkPriv(inMenubutton) {}    if ![winfo exists $w] {	return    }    if {[$w cget -state] == "active"} {	$w configure -state normal    }}# tkMbPost --# Given a menubutton, this procedure does all the work of posting# its associated menu and unposting any other menu that is currently# posted.## Arguments:# w -			The name of the menubutton widget whose menu#			is to be posted.# x, y -		Root coordinates of cursor, used for positioning#			option menus.  If not specified, then the center#			of the menubutton is used for an option menu.proc tkMbPost {w {x {}} {y {}}} {    global tkPriv errorInfo    global tcl_platform    if {([$w cget -state] == "disabled") || ($w == $tkPriv(postedMb))} {	return    }    set menu [$w cget -menu]    if {$menu == ""} {	return    }    set tearoff [expr {($tcl_platform(platform) == "unix") \		     || ([$menu cget -type] == "tearoff")}]    if {[string first $w $menu] != 0} {	error "can't post $menu:  it isn't a descendant of $w (this is a new requirement in Tk versions 3.0 and later)"    }    set cur $tkPriv(postedMb)    if {$cur != ""} {	tkMenuUnpost {}    }    set tkPriv(cursor) [$w cget -cursor]    set tkPriv(relief) [$w cget -relief]    $w configure -cursor arrow    $w configure -relief raised    set tkPriv(postedMb) $w    set tkPriv(focus) [focus]    $menu activate none    event generate $menu <<MenuSelect>>    # If this looks like an option menubutton then post the menu so    # that the current entry is on top of the mouse.  Otherwise post    # the menu just below the menubutton, as for a pull-down.    update idletasks    if [catch {    	 switch [$w cget -direction] {    	    above {    	    	set x [winfo rootx $w]    	    	set y [expr [winfo rooty $w] - [winfo reqheight $menu]]    	    	$menu post $x $y    	    }    	    below {    	    	set x [winfo rootx $w]    	    	set y [expr [winfo rooty $w] + [winfo height $w]]    	    	$menu post $x $y    	    }    	    left {    	    	set x [expr [winfo rootx $w] - [winfo reqwidth $menu]]    	    	set y [expr (2 * [winfo rooty $w] + [winfo height $w]) / 2]    	    	set entry [tkMenuFindName $menu [$w cget -text]]    	    	if [$w cget -indicatoron] {		    if {$entry == [$menu index last]} {		    	incr y [expr -([$menu yposition $entry] \			    	+ [winfo reqheight $menu])/2]		    } else {		    	incr y [expr -([$menu yposition $entry] \			        + [$menu yposition [expr $entry+1]])/2]		    }    	    	}    	    	$menu post $x $y    	    	if {($entry != {}) && ([$menu entrycget $entry -state] != "disabled")} {    	    	    $menu activate $entry		    event generate $menu <<MenuSelect>>    	    	}    	    }    	    right {    	    	set x [expr [winfo rootx $w] + [winfo width $w]]    	    	set y [expr (2 * [winfo rooty $w] + [winfo height $w]) / 2]    	    	set entry [tkMenuFindName $menu [$w cget -text]]    	    	if [$w cget -indicatoron] {		    if {$entry == [$menu index last]} {		    	incr y [expr -([$menu yposition $entry] \			    	+ [winfo reqheight $menu])/2]		    } else {		    	incr y [expr -([$menu yposition $entry] \			        + [$menu yposition [expr $entry+1]])/2]		    }    	    	}    	    	$menu post $x $y    	    	if {($entry != {}) && ([$menu entrycget $entry -state] != "disabled")} {    	    	    $menu activate $entry		    event generate $menu <<MenuSelect>>    	    	}    	    }    	    default {    	    	if [$w cget -indicatoron] {	    	    if {$y == ""} {			set x [expr [winfo rootx $w] + [winfo width $w]/2]			set y [expr [winfo rooty $w] + [winfo height $w]/2]	    	    }	            tkPostOverPoint $menu $x $y [tkMenuFindName $menu [$w cget -text]]		} else {	    	    $menu post [winfo rootx $w] [expr [winfo rooty $w]+[winfo height $w]]    	    	}      	    }    	 }     } msg] {	# Error posting menu (e.g. bogus -postcommand). Unpost it and	# reflect the error.		set savedInfo $errorInfo	tkMenuUnpost {}	error $msg $savedInfo    }    set tkPriv(tearoff) $tearoff    if {$tearoff != 0} {    	focus $menu    	tkSaveGrabInfo $w    	grab -global $w    }}# tkMenuUnpost --# This procedure unposts a given menu, plus all of its ancestors up# to (and including) a menubutton, if any.  It also restores various# values to what they were before the menu was posted, and releases# a grab if there's a menubutton involved.  Special notes:# 1. It's important to unpost all menus before releasing the grab, so#    that any Enter-Leave events (e.g. from menu back to main#    application) have mode NotifyGrab.# 2. Be sure to enclose various groups of commands in "catch" so that#    the procedure will complete even if the menubutton or the menu#    or the grab window has been deleted.## Arguments:# menu -		Name of a menu to unpost.  Ignored if there#			is a posted menubutton.proc tkMenuUnpost menu {    global tcl_platform    global tkPriv    set mb $tkPriv(postedMb)    # Restore focus right away (otherwise X will take focus away when    # the menu is unmapped and under some window managers (e.g. olvwm)    # we'll lose the focus completely).    catch {focus $tkPriv(focus)}    set tkPriv(focus) ""    # Unpost menu(s) and restore some stuff that's dependent on    # what was posted.    catch {	if {$mb != ""} {	    set menu [$mb cget -menu]	    $menu unpost	    set tkPriv(postedMb) {}	    $mb configure -cursor $tkPriv(cursor)	    $mb configure -relief $tkPriv(relief)	} elseif {$tkPriv(popup) != ""} {	    $tkPriv(popup) unpost	    set tkPriv(popup) {}	} elseif {(!([$menu cget -type] == "menubar")		&& !([$menu cget -type] == "tearoff"))		|| [wm overrideredirect $menu]} {	    # We're in a cascaded sub-menu from a torn-off menu or popup.	    # Unpost all the menus up to the toplevel one (but not	    # including the top-level torn-off one) and deactivate the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久蜜桃精品| 久久久国产精华| jlzzjlzz亚洲女人18| 国产最新精品免费| 免费成人你懂的| 一区二区三区四区视频精品免费| 2019国产精品| 欧美一级专区免费大片| 欧美乱妇23p| 欧美久久免费观看| 精品国产人成亚洲区| 欧美色区777第一页| 欧美日韩午夜精品| 欧美日韩欧美一区二区| 欧美日韩一区二区不卡| 欧美午夜免费电影| 在线综合+亚洲+欧美中文字幕| 欧美三级午夜理伦三级中视频| 91国模大尺度私拍在线视频| 色一情一伦一子一伦一区| 欧美色精品天天在线观看视频| 欧美日韩美女一区二区| 日韩精品中文字幕一区| 欧美精品一区二区三区四区| 国产亲近乱来精品视频| 中文字幕一区二区三区乱码在线 | 日日夜夜精品视频免费| 奇米一区二区三区| 国产伦精品一区二区三区在线观看| 韩国理伦片一区二区三区在线播放| 国产美女娇喘av呻吟久久| 成人夜色视频网站在线观看| 欧美主播一区二区三区| 久久影院视频免费| 亚洲国产日韩精品| 狠狠久久亚洲欧美| 日韩欧美一级二级三级久久久| 日韩精品一区二区三区三区免费| 日本一区二区三区国色天香| 亚洲成人av中文| 国产91精品在线观看| 欧美日韩国产三级| 国产精品电影一区二区| 精品一区二区在线播放| 欧美天堂一区二区三区| 国产精品国产三级国产普通话蜜臀 | 精品一区二区精品| 日本高清不卡aⅴ免费网站| 久久久久久久久久久黄色| 亚洲综合视频在线观看| 成人黄色一级视频| 2023国产精品自拍| 免费在线观看日韩欧美| 欧美色大人视频| 亚洲精品国产一区二区精华液 | 91行情网站电视在线观看高清版| 日韩女优电影在线观看| 国产自产v一区二区三区c| 色婷婷久久一区二区三区麻豆| 色综合久久中文字幕综合网| 国产香蕉久久精品综合网| 久久精品噜噜噜成人88aⅴ| 欧美亚洲高清一区| 天天色天天爱天天射综合| 色婷婷久久综合| 亚洲乱码国产乱码精品精小说| 99亚偷拍自图区亚洲| 亚洲免费资源在线播放| 91亚洲精品乱码久久久久久蜜桃| 欧美国产精品一区二区| www.日韩av| 亚洲国产精品自拍| 91精品国产美女浴室洗澡无遮挡| 天天综合日日夜夜精品| 26uuu国产在线精品一区二区| 国产激情一区二区三区| 玉足女爽爽91| 精品免费99久久| jiyouzz国产精品久久| 五月婷婷久久丁香| 精品日韩欧美在线| www.欧美亚洲| 婷婷开心激情综合| 337p粉嫩大胆噜噜噜噜噜91av| 成人午夜激情在线| 亚洲成人久久影院| 国产日韩成人精品| 欧美日韩另类国产亚洲欧美一级| 经典三级视频一区| 亚洲电影一区二区| 国产欧美久久久精品影院| 欧美日韩在线一区二区| 91精品国产一区二区三区香蕉| 国模一区二区三区白浆 | 午夜伊人狠狠久久| 久久免费国产精品| 欧美喷潮久久久xxxxx| 91一区二区在线观看| 色婷婷国产精品综合在线观看| 精品一区二区日韩| 午夜视频一区二区| 最好看的中文字幕久久| 国产亚洲精品超碰| 日韩欧美亚洲国产另类| 欧美日韩高清一区二区三区| 成人sese在线| 国产999精品久久久久久绿帽| 日本中文在线一区| 天堂午夜影视日韩欧美一区二区| 久久久精品国产免大香伊| 欧美福利视频导航| 一本色道久久综合亚洲精品按摩| 国产成人精品影院| 国产精品一区二区三区网站| 久久不见久久见中文字幕免费| 亚洲v精品v日韩v欧美v专区| 亚洲欧美色综合| 亚洲男人的天堂网| 成人涩涩免费视频| 91丨porny丨最新| 色综合久久66| 欧美色男人天堂| 欧美一区二区福利视频| 欧美成人bangbros| 久久久国产午夜精品| 亚洲欧美综合另类在线卡通| 1区2区3区欧美| 亚洲国产视频直播| 国模冰冰炮一区二区| 99国产精品视频免费观看| 在线91免费看| 国产欧美精品国产国产专区| 成人免费在线视频观看| 亚洲大片在线观看| 国精品**一区二区三区在线蜜桃| 国产69精品久久777的优势| 91免费视频大全| 日韩一卡二卡三卡| 亚洲男帅同性gay1069| 免费的国产精品| 色综合欧美在线视频区| 精品国产乱码久久久久久图片| 国产精品久久久久久久久久久免费看 | 欧美色综合影院| 欧美激情在线一区二区三区| 亚洲国产一区二区在线播放| 国精产品一区一区三区mba桃花| 在线免费精品视频| 欧美xxxxx裸体时装秀| 亚洲欧美日韩在线| 国产一区999| 678五月天丁香亚洲综合网| 中文字幕的久久| 久色婷婷小香蕉久久| 欧美网站大全在线观看| 亚洲人成人一区二区在线观看| 国产在线精品一区二区| 在线不卡一区二区| 亚洲综合小说图片| 色国产精品一区在线观看| 久久精品亚洲一区二区三区浴池| 日韩影院精彩在线| 欧美日韩精品综合在线| 亚洲日本va在线观看| eeuss影院一区二区三区| 国产亚洲一本大道中文在线| 久久精品999| 国产三级精品三级在线专区| 久久66热re国产| 精品国精品国产| 国产在线播放一区三区四| 久久免费午夜影院| 国产成人免费高清| 成人欧美一区二区三区黑人麻豆 | 五月婷婷激情综合| 制服丝袜在线91| 激情丁香综合五月| 国产亚洲1区2区3区| 成人h版在线观看| 亚洲日本成人在线观看| www.日本不卡| 久久伊人中文字幕| 国产一区二区三区四| 日本一区二区成人在线| av在线播放一区二区三区| 亚洲激情校园春色| 欧美草草影院在线视频| 国产高清精品网站| 亚洲18女电影在线观看| 精品国产91洋老外米糕| 波多野洁衣一区| 青青草精品视频| 国产精品久久久久桃色tv| 欧美色图第一页| 成人听书哪个软件好| 亚洲第一精品在线| 国产精品久久久久久久久果冻传媒| 精品视频一区二区不卡| 丁香婷婷深情五月亚洲| 天堂成人免费av电影一区|