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

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

?? notebook.itk

?? linux 下的源代碼分析閱讀器 red hat公司新版
?? ITK
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
## Notebook Widget# ----------------------------------------------------------------------# The Notebook command creates a new window (given by the pathName # argument) and makes it into a Notebook widget. Additional options, # described above may be specified on the command line or in the # option database to configure aspects of the Notebook such as its # colors, font, and text. The Notebook command returns its pathName # argument. At the time this command is invoked, there must not exist # a window named pathName, but path Name's parent must exist.# # A Notebook is a widget that contains a set of pages. It displays one # page from the set as the selected page. When a page is selected, the # page's contents are displayed in the page area. When first created a # Notebook has no pages. Pages may be added or deleted using widget commands # described below.# # A special option may be provided to the Notebook. The -auto option # specifies whether the Nptebook will automatically handle the unpacking # and packing of pages when pages are selected. A value of true signifies # that the notebook will automatically manage it. This is the default # value. A value of false signifies the notebook will not perform automatic # switching of pages.## WISH LIST:#   This section lists possible future enhancements.## ----------------------------------------------------------------------#  AUTHOR: Bill W. Scott                 EMAIL: bscott@spd.dsccc.com##  @(#) $Id: notebook.itk 144 2003-02-05 10:56:26Z mdejong $# ----------------------------------------------------------------------#            Copyright (c) 1995 DSC Technologies Corporation# ======================================================================# Permission to use, copy, modify, distribute and license this software # and its documentation for any purpose, and without fee or written # agreement with DSC, is hereby granted, provided that the above copyright # notice appears in all copies and that both the copyright notice and # warranty disclaimer below appear in supporting documentation, and that # the names of DSC Technologies Corporation or DSC Communications # Corporation not be used in advertising or publicity pertaining to the # software without specific, written prior permission.# # DSC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, AND NON-# INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE# AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. IN NO EVENT SHALL # DSC BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR # ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION,# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE.# ======================================================================## Default resources.#option add *Notebook.background          #d9d9d9      widgetDefaultoption add *Notebook.auto                true         widgetDefault## Usual options.#itk::usual Notebook {    keep -background -cursor}# ------------------------------------------------------------------#                            NOTEBOOK# ------------------------------------------------------------------class iwidgets::Notebook {    inherit itk::Widget        constructor {args} {}        itk_option define -background background Background #d9d9d9     itk_option define -auto auto Auto true     itk_option define -scrollcommand scrollCommand ScrollCommand {}        public method add { args }    public method childsite { args }    public method delete { args }     public method index { args }     public method insert { args }     public method prev { }     public method next { }     public method pageconfigure { args }     public method pagecget { index option }    public method select { index }     public method view { args }         private method _childSites { }     private method _scrollCommand { }     private method _index { pathList index select}     private method _createPage { args }     private method _deletePages { fromPage toPage }     private method _configurePages { args }     private method _tabCommand { }         private variable _currPage -1  ;# numerical index of current page selected    private variable _pages {}     ;# list of Page components    private variable _uniqueID 0   ;# one-up number for unique page numbering    }## Provide a lowercase access method for the Notebook class#proc ::iwidgets::notebook {pathName args} {    uplevel ::iwidgets::Notebook $pathName $args}# ------------------------------------------------------------------#                      CONSTRUCTOR# ------------------------------------------------------------------body iwidgets::Notebook::constructor {args}  {    #    # Create the outermost frame to maintain geometry.    #    itk_component add cs {	frame $itk_interior.cs     } {	keep -cursor -background -width -height    }    pack $itk_component(cs) -fill both -expand yes    pack propagate $itk_component(cs) no        eval itk_initialize $args        # force bg of all pages to reflect Notebook's background.    _configurePages -background $itk_option(-background)}# ------------------------------------------------------------------#                      OPTIONS# ------------------------------------------------------------------# ------------------------------------------------------------------# OPTION -background## Sets the bg color of all the pages in the Notebook.# ------------------------------------------------------------------configbody iwidgets::Notebook::background {    if {$itk_option(-background) != {}} {	_configurePages -background $itk_option(-background)    }}# ------------------------------------------------------------------# OPTION -auto## Determines whether pages are automatically unpacked and# packed when pages get selected.# ------------------------------------------------------------------configbody iwidgets::Notebook::auto {    if {$itk_option(-auto) != {}} {    }}# ------------------------------------------------------------------# OPTION -scrollcommand## Command string to be invoked when the notebook # has any changes to its current page, or number of pages.# # typically for scrollbars.# ------------------------------------------------------------------configbody iwidgets::Notebook::scrollcommand {    if {$itk_option(-scrollcommand) != {}} {	_scrollCommand    }}# ------------------------------------------------------------------# METHOD: add add ?<option> <value>...?# # Creates a page and appends it to the list of pages.# processes pageconfigure for the page added.# ------------------------------------------------------------------body iwidgets::Notebook::add { args } {    # The args list should be an even # of params, if not then    # prob missing value for last item in args list. Signal error.    set len [llength $args]    if { [expr $len % 2] } {	error "value for \"[lindex $args [expr $len - 1]]\" missing"    }        # add a Page component    set pathName [eval _createPage $args]    lappend _pages $pathName        # update scroller    _scrollCommand         # return childsite for the Page component    return [eval $pathName childsite]}# ------------------------------------------------------------------# METHOD: childsite ?<index>?## If index is supplied, returns the child site widget corresponding # to the page index.  If called with no arguments, returns a list # of all child sites# ------------------------------------------------------------------body iwidgets::Notebook::childsite { args } {    set len [llength $args]        switch $len {	0 {	    # ... called with no arguments, return a list	    if { [llength $args] == 0 } {		return [_childSites]	    }	}	1 {	    set index [lindex $args 0]	    # ... otherwise, return child site for the index given	    # empty notebook	    if { $_pages == {} } {		error "can't get childsite,\			no pages in the notebook \"$itk_component(hull)\""	    }	    	    set index [_index $_pages $index $_currPage]	    	    # index out of range	    if { $index < 0 || $index >= [llength $_pages] } {		error "bad Notebook page index in childsite method:\			should be between 0 and [expr [llength $_pages] - 1]"	    }	    	    set pathName [lindex $_pages $index]	    	    set cs [eval $pathName childsite]	    return $cs	}	default {	    # ... too many parameters passed	    error "wrong # args: should be\		    \"$itk_component(hull) childsite ?index?\""	}    }}# ------------------------------------------------------------------# METHOD: delete <index1> ?<index2>?# # Deletes a page or range of pages from the notebook# ------------------------------------------------------------------body iwidgets::Notebook::delete { args } {    # empty notebook    if { $_pages == {} } {	error "can't delete page, no pages in the notebook\		\"$itk_component(hull)\""    }        set len [llength $args]    switch -- $len {	1 {	    set fromPage [_index $_pages [lindex $args 0] $_currPage]	    	    if { $fromPage < 0 || $fromPage >= [llength $_pages] } {		error "bad Notebook page index in delete method:\			should be between 0 and [expr [llength $_pages] - 1]"	    }	    	    set toPage $fromPage	    _deletePages $fromPage $toPage	}		2 {	    set fromPage [_index $_pages [lindex $args 0] $_currPage]	    	    if { $fromPage < 0 || $fromPage >= [llength $_pages] } {		error "bad Notebook page index1 in delete method:\			should be between 0 and [expr [llength $_pages] - 1]"	    }	    	    set toPage [_index $_pages [lindex $args 1] $_currPage]	    	    if { $toPage < 0 || $toPage >= [llength $_pages] } {		error "bad Notebook page index2 in delete method:\			should be between 0 and [expr [llength $_pages] - 1]"		error "bad Notebook page index2"	    }	    	    if { $fromPage > $toPage } {		error "bad Notebook page index1 in delete method:\			index1 is greater than index2"	    }	    	    _deletePages $fromPage $toPage	    	}		default {	    # ... too few/many parameters passed	    error "wrong # args: should be\		    \"$itk_component(hull) delete index1 ?index2?\""	}    }}# ------------------------------------------------------------------# METHOD: index <index>## Given an index identifier returns the numeric index of the page# ------------------------------------------------------------------body iwidgets::Notebook::index { args } {    if { [llength $args] != 1 } {	error "wrong # args: should be\		\"$itk_component(hull) index index\""    }        set index $args        set number [_index $_pages $index $_currPage]        return $number}# ------------------------------------------------------------------# METHOD: insert <index> ?<option> <value>...?## Inserts a page before a index. The before page may# be specified as a label or a page position. # ------------------------------------------------------------------body iwidgets::Notebook::insert { args } {    # ... Error: no args passed    set len [llength $args]    if { $len == 0 } {	error "wrong # args: should be\		\"$itk_component(hull) insert index ?option value?\""    }        # ... set up index and args     set index [lindex $args 0]    set args [lrange $args 1 $len]        # ... Error: unmatched option value pair (len is odd)    # The args list should be an even # of params, if not then    # prob missing value for last item in args list. Signal error.    set len [llength $args]    if { [expr $len % 2] } {	error "value for \"[lindex $args [expr $len - 1]]\" missing"    }        # ... Error: catch notebook empty    if { $_pages == {} } {	error "can't insert page, no pages in the notebook\		\"$itk_component(hull)\""    }        # ok, get the page    set page [_index $_pages $index $_currPage]        # ... Error: catch bad value for before page.    if { $page < 0 || $page >= [llength $_pages] } {	error "bad Notebook page index in insert method:\		should be between 0 and [expr [llength $_pages] - 1]"    }        # ... Start the business of inserting    # create the new page and get its path name...    set pathName [eval _createPage $args]        # grab the name of the page currently selected. (to keep in sync)    set currPathName [lindex $_pages $_currPage]        # insert pathName before $page    set _pages [linsert $_pages $page $pathName]        # keep the _currPage in sync with the insert.    set _currPage [lsearch -exact $_pages $currPathName]        # give scrollcommand chance to update    _scrollCommand         # give them child site back...    return [eval $pathName childsite]}# ------------------------------------------------------------------# METHOD: prev## Selects the previous page. Wraps at first back to last page.# ------------------------------------------------------------------body iwidgets::Notebook::prev { } {    # catch empty notebook    if { $_pages == {} } {	error "can't move to previous page,\		no pages in the notebook \"$itk_component(hull)\""    }        # bump to the previous page and wrap if necessary    set prev [expr $_currPage - 1]    if { $prev < 0 } {	set prev [expr [llength $_pages] - 1]    }        select $prev        return $prev}# ------------------------------------------------------------------# METHOD: next## Selects the next page. Wraps at last back to first page.# ------------------------------------------------------------------body iwidgets::Notebook::next { } {    # catch empty notebook    if { $_pages == {} } {	error "can't move to next page,\		no pages in the notebook \"$itk_component(hull)\""    }        # bump to the next page and wrap if necessary    set next [expr $_currPage + 1]    if { $next >= [llength $_pages] } {	set next 0    }        select $next        return $next}# ------------------------------------------------------------------# METHOD: pageconfigure <index> ?<option> <value>...?## Performs configure on a given page denoted by index.  Index may # be a page number or a pattern matching the label associated with # a page.# ------------------------------------------------------------------body iwidgets::Notebook::pageconfigure { args } {    # ... Error: no args passed    set len [llength $args]    if { $len == 0 } {	error "wrong # args: should be\		\"$itk_component(hull) pageconfigure index ?option value?\""    }        # ... set up index and args     set index [lindex $args 0]    set args [lrange $args 1 $len]        set page [_index $_pages $index $_currPage]        # ... Error: page out of range    if { $page < 0 || $page >= [llength $_pages] } {	error "bad Notebook page index in pageconfigure method:\		should be between 0 and [expr [llength $_pages] - 1]"    }        # Configure the page component    set pathName [lindex $_pages $page]    return [eval $pathName configure $args]}# ------------------------------------------------------------------# METHOD: pagecget <index> <option>## Performs cget on a given page denoted by index.  Index may # be a page number or a pattern matching the label associated with # a page.# ------------------------------------------------------------------body iwidgets::Notebook::pagecget { index option } {    set page [_index $_pages $index $_currPage]        # ... Error: page out of range    if { $page < 0 || $page >= [llength $_pages] } {	error "bad Notebook page index in pagecget method:\

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲男人的天堂一区二区| 日韩成人精品视频| 欧美r级在线观看| 99久久99久久精品免费观看| 天堂资源在线中文精品| 国产精品丝袜黑色高跟| 精品国精品自拍自在线| 欧美日韩在线直播| av电影一区二区| 精品亚洲成a人| 亚洲va欧美va天堂v国产综合| 国产欧美日韩一区二区三区在线观看| 91精品国产色综合久久不卡蜜臀| kk眼镜猥琐国模调教系列一区二区| 久久91精品久久久久久秒播| 亚洲国产色一区| 亚洲精品高清在线观看| 国产精品久久久久久久久果冻传媒| 日韩欧美亚洲国产精品字幕久久久| 在线观看亚洲一区| 色综合一区二区| av不卡在线观看| 成人av电影在线| 成人一区在线观看| 成人污视频在线观看| 国产成人在线电影| 国产成人免费视频| 国产一区亚洲一区| 国产一区二区调教| 国产美女娇喘av呻吟久久| 韩日av一区二区| 韩国午夜理伦三级不卡影院| 久久不见久久见免费视频7 | 久久久久久电影| 日韩一二三区视频| 91精品国产综合久久婷婷香蕉| 91高清视频免费看| 欧洲视频一区二区| 欧美三级资源在线| 精品视频在线免费观看| 欧美日韩精品一二三区| 欧美唯美清纯偷拍| 6080午夜不卡| 欧美一区二区视频免费观看| 8x8x8国产精品| 精品区一区二区| 久久男人中文字幕资源站| 久久你懂得1024| 国产精品电影一区二区三区| 亚洲人成网站在线| 亚洲一区二区精品视频| 视频一区欧美日韩| 久久国产福利国产秒拍| 国产精品一二三四五| 99视频精品在线| 欧美日韩三级一区二区| 日韩欧美国产综合| 久久精品人人做| 夜夜爽夜夜爽精品视频| 亚洲成人手机在线| 国产一区二区精品在线观看| 99国产一区二区三精品乱码| 欧美影院一区二区| 欧美电影免费观看高清完整版在线观看 | 精品国产成人系列| 国产欧美精品日韩区二区麻豆天美| 亚洲欧洲另类国产综合| 亚洲图片有声小说| 激情欧美一区二区三区在线观看| 国产91高潮流白浆在线麻豆| 色88888久久久久久影院按摩| 91精品欧美综合在线观看最新| 欧美精品一区二区久久婷婷| 亚洲特级片在线| 免费成人美女在线观看.| 成人黄色国产精品网站大全在线免费观看| 91麻豆国产在线观看| 日韩精品一区二区三区视频播放 | 日韩一二三区视频| 国产精品免费视频一区| 午夜一区二区三区在线观看| 丰满亚洲少妇av| 欧美日韩精品欧美日韩精品一综合| 精品国产免费一区二区三区四区| 亚洲桃色在线一区| 国内一区二区视频| 欧美丝袜自拍制服另类| 国产亚洲人成网站| 日日欢夜夜爽一区| 91网站最新网址| 久久久精品人体av艺术| 日韩av电影免费观看高清完整版在线观看| 国产精品一区专区| 777a∨成人精品桃花网| 国产精品国产a| 激情丁香综合五月| 欧美嫩在线观看| 亚洲精品乱码久久久久久日本蜜臀| 精品中文字幕一区二区| 欧美色中文字幕| 亚洲欧美在线高清| 国产精品影视天天线| 911国产精品| 亚洲成人在线免费| 色偷偷一区二区三区| 欧美激情在线一区二区| 国内精品国产成人| 欧美一区二区三区四区视频 | 一区二区三区日韩在线观看| 国产高清一区日本| wwwwww.欧美系列| 秋霞影院一区二区| 欧美少妇一区二区| 亚洲一卡二卡三卡四卡五卡| 99久久精品免费精品国产| 久久久久久久久久久久久久久99| 日韩精品国产精品| 91麻豆精品国产91久久久资源速度| 日日摸夜夜添夜夜添国产精品| av不卡在线播放| 国产精品亲子伦对白| 国产91精品一区二区麻豆网站| 久久亚洲欧美国产精品乐播| 美女网站色91| 日韩三级精品电影久久久| 日本在线播放一区二区三区| 欧美久久久久久久久久| 午夜精品久久久久久久| 欧美日韩在线播放一区| 午夜精品福利一区二区蜜股av| 91高清在线观看| 亚洲不卡av一区二区三区| 欧美日韩视频第一区| 午夜国产精品影院在线观看| 欧美丝袜丝nylons| 青青草国产精品97视觉盛宴| 日韩一二在线观看| 国产一区二区三区黄视频| 久久久蜜臀国产一区二区| 国产成人精品亚洲午夜麻豆| 欧美国产日韩亚洲一区| 91小视频在线| 亚洲国产日韩精品| 欧美一区二区三区白人| 国产一区二区三区免费播放 | 久久久国产精品午夜一区ai换脸| 激情综合网av| 欧美激情在线观看视频免费| 不卡av免费在线观看| 亚洲精品国产精华液| 欧美日韩成人一区二区| 蜜臀av性久久久久蜜臀av麻豆| 2023国产精华国产精品| av资源网一区| 亚洲成人午夜影院| 欧美成人艳星乳罩| 懂色av一区二区在线播放| 亚洲色图丝袜美腿| 欧美四级电影网| 国产在线不卡一卡二卡三卡四卡| 国产午夜精品福利| 色婷婷综合久久久中文一区二区 | 国内偷窥港台综合视频在线播放| 26uuuu精品一区二区| 99久久精品国产一区二区三区| 亚洲黄色在线视频| 日韩一级片网站| 成人综合婷婷国产精品久久蜜臀| 亚洲精品第一国产综合野| 欧美久久一二区| 国产大片一区二区| 亚洲18女电影在线观看| 久久久不卡网国产精品二区| 97精品久久久午夜一区二区三区| 亚洲v精品v日韩v欧美v专区| 国产日韩欧美一区二区三区综合| 色嗨嗨av一区二区三区| 久久91精品久久久久久秒播| 亚洲精品欧美在线| 久久一区二区三区四区| 欧美性感一区二区三区| 国产成人综合精品三级| 亚洲电影一区二区三区| 日本一区二区综合亚洲| 欧美精品日韩精品| youjizz久久| 激情五月激情综合网| 亚洲一二三区视频在线观看| 国产欧美日韩精品在线| 在线播放亚洲一区| 91丝袜高跟美女视频| 精品在线观看免费| 亚洲午夜久久久久久久久电影院| 欧美极品aⅴ影院| 日韩美女视频在线| 欧美日韩一区 二区 三区 久久精品| 国产精品中文欧美| 蜜臀91精品一区二区三区| 亚洲一区二区四区蜜桃| 成人欧美一区二区三区在线播放|