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

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

?? xmfbox.tcl

?? genesis 2000 v9.1軟件下載
?? TCL
?? 第 1 頁 / 共 2 頁
字號:
# xmfbox.tcl --##	Implements the "Motif" style file selection dialog for the#	Unix platform. This implementation is used only if the#	"tk_strictMotif" flag is set.## SCCS: @(#) xmfbox.tcl 1.5 96/10/04 17:09:24## Copyright (c) 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.## tkMotifFDialog --##	Implements a file dialog similar to the standard Motif file#	selection box.## Return value:##	A list of two members. The first member is the absolute#	pathname of the selected file or "" if user hits cancel. The#	second member is the name of the selected file type, or ""#	which stands for "default file type"#proc tkMotifFDialog {args} {    global tkPriv    set w .__tk_filedialog    upvar #0 $w data    if ![string compare [lindex [info level 0] 0] tk_getOpenFile] {	set type open    } else {	set type save    }    tkMotifFDialog_Config $w $type $args    # (re)create the dialog box if necessary    #    if {![winfo exists $w]} {	tkMotifFDialog_Create $w    } elseif {[string compare [winfo class $w] TkMotifFDialog]} {	destroy $w	tkMotifFDialog_Create $w    }    wm transient $w $data(-parent)    tkMotifFDialog_Update $w    # 5. Withdraw the window, then update all the geometry information    # so we know how big it wants to be, then center the window in the    # display and de-iconify it.    wm withdraw $w    update idletasks    set x [expr [winfo screenwidth $w]/2 - [winfo reqwidth $w]/2 \	    - [winfo vrootx [winfo parent $w]]]    set y [expr [winfo screenheight $w]/2 - [winfo reqheight $w]/2 \	    - [winfo vrooty [winfo parent $w]]]    wm geom $w +$x+$y    wm deiconify $w    wm title $w $data(-title)    # 6. Set a grab and claim the focus too.    set oldFocus [focus]    set oldGrab [grab current $w]    if {$oldGrab != ""} {	set grabStatus [grab status $oldGrab]    }    grab $w    focus $data(sEnt)    $data(sEnt) select from 0    $data(sEnt) select to   end    # 7. Wait for the user to respond, then restore the focus and    # return the index of the selected button.  Restore the focus    # before deleting the window, since otherwise the window manager    # may take the focus away so we can't redirect it.  Finally,    # restore any grab that was in effect.    tkwait variable tkPriv(selectFilePath)    catch {focus $oldFocus}    grab release $w    wm withdraw $w    if {$oldGrab != ""} {	if {$grabStatus == "global"} {	    grab -global $oldGrab	} else {	    grab $oldGrab	}    }    return $tkPriv(selectFilePath)}proc tkMotifFDialog_Config {w type argList} {    upvar #0 $w data    set data(type) $type    # 1: the configuration specs    #    set specs {	{-defaultextension "" "" ""}	{-filetypes "" "" ""}	{-initialdir "" "" ""}	{-initialfile "" "" ""}	{-parent "" "" "."}	{-title "" "" ""}    }    # 2: default values depending on the type of the dialog    #    if ![info exists data(selectPath)] {	# first time the dialog has been popped up	set data(selectPath) [pwd]	set data(selectFile) ""    }    # 3: parse the arguments    #    tclParseConfigSpec $w $specs "" $argList    if ![string compare $data(-title) ""] {	if ![string compare $type "open"] {	    set data(-title) "Open"	} else {	    set data(-title) "Save As"	}    }    # 4: set the default directory and selection according to the -initial    #    settings    #    if [string compare $data(-initialdir) ""] {	if [file isdirectory $data(-initialdir)] {	    set data(selectPath) [glob $data(-initialdir)]	} else {	    error "\"$data(-initialdir)\" is not a valid directory"	}    }    set data(selectFile) $data(-initialfile)    # 5. Parse the -filetypes option. It is not used by the motif    #    file dialog, but we check for validity of the value to make sure    #    the application code also runs fine with the TK file dialog.    #    set data(-filetypes) [tkFDGetFileTypes $data(-filetypes)]    if ![info exists data(filter)] {	set data(filter) *    }    if ![winfo exists $data(-parent)] {	error "bad window path name \"$data(-parent)\""    }}proc tkMotifFDialog_Create {w} {    upvar #0 $w data    # 1: Create the dialog ...    #    toplevel $w -class TkMotifFDialog    set top [frame $w.top -relief raised -bd 1]    set bot [frame $w.bot -relief raised -bd 1]    pack $w.bot -side bottom -fill x    pack $w.top -side top -expand yes -fill both    set f1 [frame $top.f1]    set f2 [frame $top.f2]    set f3 [frame $top.f3]    pack $f1 -side top    -fill x    pack $f3 -side bottom -fill x    pack $f2 -expand yes -fill both    set f2a [frame $f2.a]    set f2b [frame $f2.b]    grid $f2a -row 0 -column 0 -rowspan 1 -columnspan 1 -padx 4 -pady 4 \	-sticky news    grid $f2b -row 0 -column 1 -rowspan 1 -columnspan 1 -padx 4 -pady 4 \	-sticky news    grid rowconfig $f2 0    -minsize 0   -weight 1    grid columnconfig $f2 0 -minsize 0   -weight 1    grid columnconfig $f2 1 -minsize 150 -weight 2    # The Filter box    #    label $f1.lab -text "Filter:" -under 3 -anchor w    entry $f1.ent    pack $f1.lab -side top -fill x -padx 6 -pady 4    pack $f1.ent -side top -fill x -padx 4 -pady 0    set data(fEnt) $f1.ent    # The file and directory lists    #    set data(dList) [tkMotifFDialog_MakeSList $w $f2a Directory: 0 DList]    set data(fList) [tkMotifFDialog_MakeSList $w $f2b Files:     2 FList]    # The Selection box    #    label $f3.lab -text "Selection:" -under 0 -anchor w    entry $f3.ent    pack $f3.lab -side top -fill x -padx 6 -pady 0    pack $f3.ent -side top -fill x -padx 4 -pady 4    set data(sEnt) $f3.ent    # The buttons    #    set data(okBtn) [button $bot.ok     -text OK     -width 6 -under 0 \	-command "tkMotifFDialog_OkCmd $w"]    set data(filterBtn) [button $bot.filter -text Filter -width 6 -under 0 \	-command "tkMotifFDialog_FilterCmd $w"]    set data(cancelBtn) [button $bot.cancel -text Cancel -width 6 -under 0 \	-command "tkMotifFDialog_CancelCmd $w"]    pack $bot.ok $bot.filter $bot.cancel -padx 10 -pady 10 -expand yes \	-side left    # Create the bindings:    #    bind $w <Alt-t> "focus $data(fEnt)"    bind $w <Alt-d> "focus $data(dList)"    bind $w <Alt-l> "focus $data(fList)"    bind $w <Alt-s> "focus $data(sEnt)"    bind $w <Alt-o> "tkButtonInvoke $bot.ok    "    bind $w <Alt-f> "tkButtonInvoke $bot.filter"    bind $w <Alt-c> "tkButtonInvoke $bot.cancel"    bind $data(fEnt) <Return> "tkMotifFDialog_ActivateFEnt $w"    bind $data(sEnt) <Return> "tkMotifFDialog_ActivateSEnt $w"    wm protocol $w WM_DELETE_WINDOW "tkMotifFDialog_CancelCmd $w"}proc tkMotifFDialog_MakeSList {w f label under cmd} {    label $f.lab -text $label -under $under -anchor w    listbox $f.l -width 12 -height 5 -selectmode browse -exportselection 0\	-xscrollcommand "$f.h set" \	-yscrollcommand "$f.v set"     scrollbar $f.v -orient vertical   -takefocus 0 \	-command "$f.l yview"    scrollbar $f.h -orient horizontal -takefocus 0 \	-command "$f.l xview"    grid $f.lab -row 0 -column 0 -sticky news -rowspan 1 -columnspan 2 \	-padx 2 -pady 2    grid $f.l -row 1 -column 0 -rowspan 1 -columnspan 1 -sticky news    grid $f.v -row 1 -column 1 -rowspan 1 -columnspan 1 -sticky news    grid $f.h -row 2 -column 0 -rowspan 1 -columnspan 1 -sticky news    grid rowconfig    $f 0 -weight 0 -minsize 0    grid rowconfig    $f 1 -weight 1 -minsize 0    grid columnconfig $f 0 -weight 1 -minsize 0    # bindings for the listboxes    #    set list $f.l    bind $list <Up>        "tkMotifFDialog_Browse$cmd $w"    bind $list <Down>      "tkMotifFDialog_Browse$cmd $w"    bind $list <space>     "tkMotifFDialog_Browse$cmd $w"    bind $list <1>         "tkMotifFDialog_Browse$cmd $w"    bind $list <B1-Motion> "tkMotifFDialog_Browse$cmd $w"    bind $list <Double-1>  "tkMotifFDialog_Activate$cmd $w"    bind $list <Return>    "tkMotifFDialog_Browse$cmd $w; tkMotifFDialog_Activate$cmd $w"    bindtags $list "Listbox $list [winfo toplevel $list] all"    tkListBoxKeyAccel_Set $list    return $f.l}proc tkMotifFDialog_BrowseDList {w} {    upvar #0 $w data    focus $data(dList)    if ![string compare [$data(dList) curselection] ""] {	return    }    set subdir [$data(dList) get [$data(dList) curselection]]    if ![string compare $subdir ""] {	return    }    $data(fList) selection clear 0 end    set list [tkMotifFDialog_InterpFilter $w]    set data(filter) [lindex $list 1]    case $subdir {	. {	    set newSpec [file join $data(selectPath) $data(filter)]	}	.. {	    set newSpec [file join [file dirname $data(selectPath)] \		$data(filter)]	}	default {	    set newSpec [file join $data(selectPath) $subdir $data(filter)]	}    }    $data(fEnt) delete 0 end    $data(fEnt) insert 0 $newSpec}proc tkMotifFDialog_ActivateDList {w} {    upvar #0 $w data    if ![string compare [$data(dList) curselection] ""] {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色图第一页| 色综合天天综合网天天狠天天| 美女视频免费一区| av午夜精品一区二区三区| 欧美在线观看一区| 久久综合久久鬼色| 亚洲国产精品久久久久秋霞影院 | 色哟哟国产精品| 日韩一区国产二区欧美三区| 日韩码欧中文字| 狠狠色丁香婷综合久久| 在线免费观看视频一区| 久久精品人人爽人人爽| 午夜伦欧美伦电影理论片| 成人免费视频免费观看| 日韩精品一区二区三区swag| 亚洲一区二区高清| 成人av免费在线播放| 国产午夜精品美女毛片视频| 久久99热狠狠色一区二区| 欧美影视一区在线| 中文字幕一区二区三区蜜月| 国产精品一区二区在线播放| 日韩一区二区三区在线视频| 亚洲黄色小说网站| 91美女视频网站| 一色桃子久久精品亚洲| 国产成人夜色高潮福利影视| 日韩欧美不卡一区| 老司机免费视频一区二区| 欧美丰满少妇xxxxx高潮对白| 一区二区三区色| 91亚洲永久精品| 1000精品久久久久久久久| 成人小视频在线| 国产欧美一区在线| 国产成人精品综合在线观看| 久久精品一区二区三区av| 黑人巨大精品欧美一区| 精品国产亚洲一区二区三区在线观看 | 日韩电影在线一区二区三区| 在线观看视频一区二区| 亚洲日本在线看| 色婷婷综合在线| 亚洲成人av中文| 91精品国产综合久久精品app| 亚洲国产欧美在线| 在线电影院国产精品| 日本视频一区二区三区| 日韩精品影音先锋| 国内成人精品2018免费看| 国产欧美日韩麻豆91| 成年人网站91| 亚洲一区免费视频| 欧美一区二区三区性视频| 青草国产精品久久久久久| 日韩欧美不卡在线观看视频| 国产激情精品久久久第一区二区| 国产欧美日韩麻豆91| 色哟哟精品一区| 美女脱光内衣内裤视频久久网站| 久久精品一区二区三区四区| 99天天综合性| 日韩成人伦理电影在线观看| 久久新电视剧免费观看| 不卡av在线网| 午夜精品久久久久久久久| 精品国产欧美一区二区| 成人激情小说乱人伦| 亚洲一区欧美一区| 久久综合精品国产一区二区三区| 9色porny自拍视频一区二区| 亚洲va中文字幕| 2021久久国产精品不只是精品| av不卡免费在线观看| 午夜精品福利在线| 国产三区在线成人av| 欧美日韩一区二区电影| 国产成人在线观看免费网站| 亚洲电影一级黄| 中文字幕精品一区| 欧美久久久久免费| 国产成人精品亚洲777人妖 | 欧美在线综合视频| 国产在线乱码一区二区三区| 亚洲h动漫在线| 17c精品麻豆一区二区免费| 精品国产1区二区| 91精品国产欧美一区二区18| av亚洲产国偷v产偷v自拍| 黄色资源网久久资源365| 又紧又大又爽精品一区二区| 久久久久国产免费免费| 91精品国产欧美一区二区成人| 色综合久久66| 成人高清伦理免费影院在线观看| 美女在线视频一区| 亚洲不卡一区二区三区| ...中文天堂在线一区| 国产亚洲1区2区3区| 91精品国产综合久久精品| 欧美天堂亚洲电影院在线播放| av一二三不卡影片| 国产成人超碰人人澡人人澡| 日本视频一区二区三区| 亚洲成av人**亚洲成av**| 国产精品不卡在线| 久久亚洲私人国产精品va媚药| 91麻豆精品国产91久久久| 色哟哟欧美精品| 91福利精品视频| 成人av网址在线| 成人午夜视频在线| 国产成人精品影视| 国产成人av资源| 国产精品一区二区在线观看网站| 精品一区二区三区欧美| 奇米888四色在线精品| 亚洲va欧美va人人爽| 亚洲成a天堂v人片| 亚洲在线视频网站| 一级做a爱片久久| 艳妇臀荡乳欲伦亚洲一区| 亚洲日本成人在线观看| 日韩毛片精品高清免费| 亚洲精品水蜜桃| 一区二区三区四区在线| 亚洲高清在线视频| 视频一区在线视频| 美女视频黄 久久| 国内精品久久久久影院薰衣草 | 日韩欧美在线网站| 日韩欧美国产综合| 久久久久久日产精品| 国产精品天美传媒| 亚洲免费av网站| 亚洲国产精品久久不卡毛片| 日韩制服丝袜先锋影音| 美国十次了思思久久精品导航| 久久精品国产澳门| 成人小视频免费观看| 色香蕉久久蜜桃| 欧美老女人在线| 久久婷婷成人综合色| 自拍偷拍国产精品| 日本欧美一区二区在线观看| 国产麻豆一精品一av一免费 | 91色九色蝌蚪| 欧美另类videos死尸| 久久久久久电影| 亚洲欧洲制服丝袜| 日韩精品乱码av一区二区| 韩日av一区二区| 欧亚一区二区三区| 精品国产乱码久久久久久闺蜜| 国产日韩欧美高清| 亚洲成av人片一区二区三区| 国产麻豆精品久久一二三| 91色porny在线视频| 555夜色666亚洲国产免| 国产校园另类小说区| 一区二区三区欧美亚洲| 理论电影国产精品| 一本大道综合伊人精品热热| 日韩欧美的一区| 亚洲毛片av在线| 国产在线视频一区二区三区| 在线观看视频一区| 亚洲国产精品t66y| 日韩在线一区二区| 色妹子一区二区| 国产日韩av一区二区| 日韩电影网1区2区| thepron国产精品| 日韩网站在线看片你懂的| 尤物在线观看一区| 成人av高清在线| 欧美不卡视频一区| 一区二区三区在线免费播放| 国产一区二区在线观看免费| 欧美日本一区二区三区| 1024成人网| 成人免费高清视频在线观看| 欧美一区二区视频观看视频 | 视频精品一区二区| 91视频.com| 自拍偷拍欧美精品| 成人av资源在线| 日本一区二区免费在线| 国产麻豆视频一区二区| 精品国精品自拍自在线| 麻豆精品视频在线观看视频| 欧美男男青年gay1069videost| 一区二区三区不卡视频在线观看| 成人的网站免费观看| 国产人伦精品一区二区| 黑人巨大精品欧美一区| 久久综合色鬼综合色| 久久精品国产澳门| 欧美sm美女调教|