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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? notes.tcl

?? Linux下的MSN聊天程序源碼
?? TCL
?? 第 1 頁 / 共 2 頁
字號(hào):
  #===========================================#  #         AMSN's User Notes System          #  #                By Fred                    #  #         Started on May 1st 2004           #  #===========================================## The ::notes namespace contains all the notes# related functionsnamespace eval ::notes {#//////////////////////////////////////////////////////////////# Get the available notes for a contact	proc get_Note { email } {		global HOME		set ::notes::notes [list]		set file [file join $HOME notes ${email}_note.xml]		if { [file exists $file] } {			set id [::sxml::init $file]  			sxml::register_routine $id "notes:note" "::notes::XML_Note"  			sxml::parse $id  			sxml::end $id		} else {			set ::notes::notes ""		}  	   	}  	   	   	proc XML_Note { cstack cdata saved_data cattr saved_attr args } {  		upvar $saved_data sdata  	   		set ::notes::notes [lappend ::notes::notes [list "$sdata(${cstack}:created)" "$sdata(${cstack}:modified)" "$sdata(${cstack}:subject)" "$sdata(${cstack}:content)"]]  	   		return 0  	   	}#//////////////////////////////////////////////////////////////# Display the notes	proc Display_Notes { {email ""} } {		global HOME		set w ".notemanager"  	   		if {[winfo exists $w]} {  			raise $w  			return  		}  	   		toplevel $w  		wm title $w "[trans note]"  		wm geometry $w 660x526+30+30  		wm protocol $w DELETE_WINDOW "::notes::Display_Notes_Close"				# Create the frame containing the list of the contacts		frame $w.contact -relief sunken -borderwidth 3   		listbox $w.contact.box -yscrollcommand "$w.contact.ys set" -font splainf -background white -relief flat -highlightthickness 0 -height 10 -width 20 -selectbackground gray  		scrollbar $w.contact.ys -command "$w.contact.box yview" -highlightthickness 0 -borderwidth 1 -elementborderwidth 2  		pack $w.contact.ys -side right -fill y  		pack $w.contact.box -side left -expand true -fill both		foreach contact [::abook::getAllContacts] {			#Selects the contacts who are in our list			if { [string last "FL" [::abook::getContactData $contact lists]] != -1 } {				lappend contact_list $contact			}		}		# Sorts contacts		set sortedcontact_list [lsort -dictionary $contact_list]		set ::notes::contacts $sortedcontact_list		set ::notes::contactswithnotes [list]		# Search contacts with notes		foreach contact $sortedcontact_list {			if { [file exists [file join $HOME notes ${contact}_note.xml]] == 1 } {				lappend ::notes::contactswithnotes $contact			}		}							foreach contact $sortedcontact_list {			$w.contact.box insert end "$contact"		}		frame $w.right -borderwidth 30		# Display the E-Mail of the contact		frame $w.right.contact		frame $w.right.contact.right		label $w.right.contact.right.note -text "[trans contact]" -font bigfont		set nickname "[trunc [::abook::getDisplayNick $email] $w 410 sboldf]"		label $w.right.contact.right.txt -text "$email\n$nickname" -font sboldf		pack configure $w.right.contact.right.note -expand false		pack configure $w.right.contact.right.txt -expand true		pack configure $w.right.contact.right -expand true -side right		# Display the show/hide button		frame $w.right.contact.left		image create photo hide -file [::skin::GetSkinFile pixmaps contract.gif] -format cximage		image create photo show -file [::skin::GetSkinFile pixmaps expand.gif] -format cximage		label $w.right.contact.left.showhide		pack configure $w.right.contact.left.showhide -side left		pack configure $w.right.contact.left -side left		# Create the listbox containing the notes  		frame $w.right.notes -relief sunken -borderwidth 3  		label $w.right.notes.current -text "[trans currentnotes]" -font sboldf  		listbox $w.right.notes.box -yscrollcommand "$w.right.notes.ys set" -font splainf -background white -relief flat -highlightthickness 0 -height 5 -width 60  		scrollbar $w.right.notes.ys -command "$w.right.notes.box yview" -highlightthickness 0 -borderwidth 1 -elementborderwidth 2  		pack $w.right.notes.current -expand false -fill x  		pack $w.right.notes.box -side left -expand true -fill both		if {![catch {tk windowingsystem} wsystem] && $wsystem == "aqua"} {			#We are not using pixmapscroll on Mac OS X		} else {			$w.right.notes.ys configure -height [winfo height $w.right.notes.box]		}  		pack $w.right.notes.ys -side right -fill y -expand false		# Create the frame containing informations about the note		frame $w.right.info -borderwidth 3		label $w.right.info.date -text "[trans clicktoadd]"		pack configure $w.right.info.date -side top -fill x		# Display the subject of the note		frame $w.right.subject -relief sunken -borderwidth 3		label $w.right.subject.desc -text "[trans subject]" -font sboldf		text $w.right.subject.txt -font splainf -background white -relief flat -highlightthickness 0 -height 1 -width 60 -state disabled		pack $w.right.subject.desc -expand false -fill both		pack $w.right.subject.txt -expand false -fill both				# Display the note		frame $w.right.note -relief sunken -borderwidth 3		label $w.right.note.desc -text "[trans note]" -font sboldf		text $w.right.note.txt -yscrollcommand "$w.right.note.ys set" -font splainf -background white -relief flat -highlightthickness 0 -height 5 -width 60 -state disabled -wrap word -exportselection 1  		scrollbar $w.right.note.ys -command "$w.right.note.txt yview" -highlightthickness 0 -borderwidth 1 -elementborderwidth 2  		pack $w.right.note.desc -expand false -fill x  		pack $w.right.note.ys -side right -fill y  		pack $w.right.note.txt -side left -expand true -fill both		# Display a warning message when no subject is given to a note		frame $w.right.warning		label $w.right.warning.txt -text ""		pack configure $w.right.warning.txt -fill x		# Create the buttons		frame $w.right.button		button $w.right.button.edit -text "[trans edit]" -command "::notes::Note_Edit" -state disabled		button $w.right.button.delete -text "[trans delete]" -command "::notes::Note_Delete" -state disabled		button $w.right.button.new -text "[trans add]" -command "::notes::Note_New" -state disabled		button $w.right.button.save_edit -text "[trans save]" -command "::notes::Note_SaveEdit"		button $w.right.button.save -text "[trans save]" -command "::notes::Note_SaveNew"		button $w.right.button.cancel -text "[trans cancel]" -command "::notes::Note_Cancel"		pack configure $w.right.button.edit -side left -padx 3 -pady 3		pack configure $w.right.button.delete -side right -padx 3 -pady 3		pack configure $w.right.button.new -side right -padx 3 -pady 3		# Create the close button		frame $w.right.close		button $w.right.close.button -text "[trans close]" -command "::notes::Display_Notes_Close"		pack configure $w.right.close.button -side right -padx 3				#If user click on a note, display the note  		bind $w.right.notes.box <<ListboxSelect>> "::notes::Notes_Selected_Note"  		#If user click on a contact at left		bind $w.contact.box <<ListboxSelect>> "::notes::Notes_Selected_Contact"		bind $w.right.subject.txt <Button1-ButtonRelease> "::notes::Note_New"		bind $w.right.note.txt <Button1-ButtonRelease> "::notes::Note_New"				  		pack $w.contact -side left -fill y -expand false		pack $w.right -side right -fill both -expand true		pack $w.right.close $w.right.button -side bottom -fill x		pack $w.right.contact -side top -fill x		pack $w.right.notes -side top -fill both -expand true		pack $w.right.info -side top -fill x		pack $w.right.subject -side top -fill x		pack $w.right.note -side top -fill both  -expand true		pack $w.right.warning -side top -fill x		bind $w.right.subject.txt <Tab> "focus $w.right.note.txt; break"		# If the E-Mail is not given, display the first contact and show the contact list		if { $email == "" } {			::notes::ShowContact			set email [lindex $::notes::contacts 0]				} else {			::notes::HideContact				}		set ::notes::email $email		::notes::get_Note $email  		foreach note $::notes::notes {  			set subject [lindex $note 2]  			$w.right.notes.box insert end "$subject"  		}		$w.right.button.new configure -state normal		set ::notes::selectedcontact [lsearch $::notes::contacts $email]		set ::notes::selected "-1"		::notes::Update_Contact_Background		bind $w <<Escape>> "::notes::Display_Notes_Close"				bind $w <<Cut>> "tk_textCut $w.right.note.txt"		bind $w <<Copy>> "tk_textCopy $w.right.note.txt"		bind $w <<Paste>> "::notes::Paste"			}#//////////////////////////////////////////////////////////////	proc Paste { } {		set w ".notemanager"	set text [clipboard get]	$w.right.note.txt insert insert "$text"		}#//////////////////////////////////////////////////////////////# When the window is closed	proc Display_Notes_Close { } {		unset -nocomplain ::notes::email		unset -nocomplain ::notes::selected		unset -nocomplain ::notes::selectedcontact		unset -nocomplain ::notes::notes		unset -nocomplain ::notes::contacts		unset -nocomplain ::notes::contactswithnotes		destroy .notemanager	}#//////////////////////////////////////////////////////////////# Display the content of a note when its subject is selected	proc Notes_Selected_Note { {selec current} {selection 0} } {		set w ".notemanager"		switch $selec {			choose {				$w.right.notes.box selection set $selection			}			current {				set selection [$w.right.notes.box curselection]				if { $selection == "" } {					return				}			}			last {				set selection [expr {[.notemanager.right.notes.box size] - 1}]				$w.right.notes.box selection set $selection			}		}		set ::notes::selected $selection		set note [lindex $::notes::notes $selection]		set created [lindex $note 0]		set modified [lindex $note 1]		set subject [lindex $note 2]		set text  [lindex $note 3]		$w.right.note.txt configure -state normal		$w.right.note.txt delete 0.0 end		$w.right.note.txt insert end "$text"		$w.right.note.txt configure -state disabled		$w.right.subject.txt configure -state normal		$w.right.subject.txt delete 0.0 end		$w.right.subject.txt insert end "$subject"		$w.right.subject.txt configure -state disabled				#Show created and modified info only if it exists		if { $created != "" & $modified != ""} {			$w.right.info.date configure -text "[trans created] : [::abook::dateconvert $created]  -  [trans modified] : [::abook::dateconvert $modified]"		} else {			$w.right.info.date configure -text "[trans clicktoadd]"		}		$w.right.button.edit configure -state normal		$w.right.button.delete configure -state normal		$w.contact.box itemconfigure $::notes::selectedcontact -background gray			}#//////////////////////////////////////////////////////////////# Display the notes of a contact when they are selected	proc Notes_Selected_Contact { } {		global HOME		set w ".notemanager"		if {[$w.contact.box cget -state] == "disabled"} {			return		}		$w.contact.box itemconfigure $::notes::selectedcontact -background white

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人自拍一区| 久久人人97超碰com| 亚洲精品福利视频网站| 99亚偷拍自图区亚洲| 1000部国产精品成人观看| 91在线观看视频| 亚洲国产精品一区二区www在线| 欧美日韩国产不卡| 日韩av一区二区三区| 精品国产一区二区三区久久久蜜月| 欧美aaaaa成人免费观看视频| 精品少妇一区二区三区在线视频| 国产一区二区毛片| 一区精品在线播放| 欧美欧美午夜aⅴ在线观看| 日本 国产 欧美色综合| 久久精品欧美一区二区三区不卡 | 精品久久久久一区二区国产| 韩国三级中文字幕hd久久精品| 中文成人av在线| 欧美亚洲国产一区在线观看网站 | 一区二区三区电影在线播| 欧美久久婷婷综合色| 国内成+人亚洲+欧美+综合在线| 亚洲国产精品ⅴa在线观看| 欧美亚洲国产bt| 韩国女主播一区| 一区二区三区四区在线| 日韩欧美精品在线视频| www.久久久久久久久| 亚洲成av人影院在线观看网| 久久久久久麻豆| 欧美在线观看你懂的| 国产精品一品二品| 亚洲成年人影院| 欧美国产乱子伦| 欧美精品乱码久久久久久按摩| 国产精品一区二区91| 亚洲国产va精品久久久不卡综合| 久久久99免费| 欧美日韩国产精选| 99久久777色| 国产精品一区二区免费不卡| 亚洲成av人影院在线观看网| 中文字幕一区av| 精品国产成人在线影院| 在线观看亚洲成人| 成人免费av在线| 免费欧美在线视频| 亚洲一级不卡视频| 中文字幕一区二区三区乱码在线| 欧美精品一区二区三区在线 | 成人动漫在线一区| 美女被吸乳得到大胸91| 亚洲国产综合色| 亚洲激情图片qvod| 国产精品欧美一区喷水| 久久综合狠狠综合久久综合88| 欧美精品亚洲二区| 欧美亚洲一区三区| 91免费在线视频观看| 丰满白嫩尤物一区二区| 国模套图日韩精品一区二区| 免费高清视频精品| 日日夜夜精品视频免费| 国产麻豆成人精品| 全国精品久久少妇| 亚洲综合久久av| 亚洲欧洲日韩在线| 国产精品久久久久久久久搜平片| 久久精品一区四区| 欧美精品一区二区三区久久久| 日韩一区二区影院| 日韩视频中午一区| 日韩欧美视频一区| 精品少妇一区二区三区在线视频| 欧美一卡二卡三卡| 日韩免费一区二区| 精品国产青草久久久久福利| 欧美v亚洲v综合ⅴ国产v| 欧美精品第1页| 日韩视频中午一区| 欧美精品一区二区三区蜜桃视频| 精品久久久久香蕉网| 欧美精品一区二区三区四区| 久久久久久99精品| 国产午夜精品久久| 17c精品麻豆一区二区免费| 亚洲青青青在线视频| 亚洲第一av色| 青草av.久久免费一区| 久久99热这里只有精品| 国产一区二区在线免费观看| 国产福利一区二区三区视频在线| 成人夜色视频网站在线观看| www.亚洲在线| 欧美日韩精品福利| 欧美成人精品福利| 日本一区二区三区在线不卡| 亚洲欧美一区二区三区久本道91| 亚洲综合久久久| 久久 天天综合| 99久久婷婷国产精品综合| 欧美在线免费观看视频| 欧美一区二区日韩| 中文字幕欧美日韩一区| 一区二区三区欧美激情| 免费观看30秒视频久久| 床上的激情91.| 欧美性感一类影片在线播放| 欧美videofree性高清杂交| 国产精品久久久久久久久免费桃花| 亚洲欧美日韩电影| 日韩电影在线观看一区| 国产乱人伦偷精品视频免下载| 91同城在线观看| 日韩亚洲欧美成人一区| 中文av一区特黄| 日韩制服丝袜av| 成人免费毛片高清视频| 在线播放91灌醉迷j高跟美女| 久久九九久精品国产免费直播| 亚洲精品国产a久久久久久 | 成人一区二区三区视频| 欧美丝袜自拍制服另类| 久久久午夜精品| 亚洲一区二区三区四区在线观看| 极品瑜伽女神91| 欧美午夜精品久久久久久超碰| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲一区在线观看网站| 国产xxx精品视频大全| 欧美日韩国产a| 日韩理论片中文av| 国产久卡久卡久卡久卡视频精品| 欧美日韩一级二级三级| 欧美国产日韩a欧美在线观看| 男男视频亚洲欧美| 色噜噜夜夜夜综合网| 国产视频在线观看一区二区三区| 亚洲成人激情社区| 一本一道久久a久久精品综合蜜臀| 精品88久久久久88久久久| 亚洲成人自拍偷拍| 99re这里只有精品首页| 久久嫩草精品久久久精品一| 秋霞午夜鲁丝一区二区老狼| 色网站国产精品| 亚洲欧洲日产国产综合网| 国产在线国偷精品免费看| 91麻豆精品国产91| 亚洲高清三级视频| 在线亚洲一区观看| 18成人在线视频| av中文字幕在线不卡| 欧美国产日韩亚洲一区| 国产精选一区二区三区| 精品免费日韩av| 久久激情综合网| 日韩欧美国产高清| 青青草原综合久久大伊人精品优势| 欧美性色黄大片手机版| 亚洲国产乱码最新视频| 91极品美女在线| 亚洲六月丁香色婷婷综合久久| 成人av电影在线网| 国产精品美女久久久久久久久久久 | 亚洲欧美日韩中文播放 | 日本久久一区二区三区| 亚洲天堂精品在线观看| 91在线观看视频| 亚洲免费观看在线视频| 在线视频亚洲一区| 亚洲综合图片区| 欧美日韩国产高清一区| 免费在线欧美视频| 久久综合九色综合久久久精品综合| 国内久久精品视频| 久久精品视频免费观看| 不卡高清视频专区| 亚洲久草在线视频| 欧美亚洲愉拍一区二区| 日韩高清在线观看| wwww国产精品欧美| 成人黄页在线观看| 亚洲欧美一区二区久久 | 日韩视频一区在线观看| 天天影视网天天综合色在线播放| 欧美另类videos死尸| 开心九九激情九九欧美日韩精美视频电影 | 亚洲女人的天堂| 欧美性xxxxxx少妇| 麻豆国产91在线播放| 久久女同性恋中文字幕| 不卡电影一区二区三区| 亚洲线精品一区二区三区| 91精品国产综合久久久久久久久久 | 欧美一区二区国产| 国产成人h网站| 一区二区三区日韩欧美|