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

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

?? c-adding3.html

?? vxworks相關論文
?? HTML
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>        Adding Tools to Tornado   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-adding.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-adding.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-adding2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-adding4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84558">6.3  &nbsp;&nbsp;Installing a New Application in Tornado</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84560"> </a>Tornado applications can be launched from the host command shell, as you did when testing this application. However, it is more convenient to launch them from the launcher (on UNIX hosts) or from the launch toolbar (on Windows hosts). The next sections explain how to install a new application.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84561">6.3.1  &nbsp;&nbsp;The Tornado Launcher (UNIX Hosts)</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84563"> </a>Once the new Tornado application is working, you can add it to the Tornado launcher. To do this, install a Tcl resource file containing the command that adds a button to the launcher in the <b class="file">Launch</b> directory. The name of this file is related to the application you are starting and is prefixed with "01" so that it will be sourced with other applications early in the initialization process. The complete path to the new resource file is:</p><dl class="margin"><dd><div class="Indent"><a name="84564"> </a><i class="textVariable">installDir</i><b class="file">/host/resource/tcl/app-config/Launch/01Wtxapp.tcl</b>.</div><br></dl><dd><p class="Body"><a name="84568"> </a>The Tcl program shown in <a href="c-adding3.html#84571">Example&nbsp;6-2</a> uses the <b class="tclProc">objectCreate</b> command to create a new button in the Tornado launcher. This button is associated with the Tcl routine <b class="tclProc">launchWtxapp</b> that gets the name of the target server currently selected in the launcher target window and passes it as a parameter to <b class="command">wtxapp</b>.</p><dd><p class="Body"><a name="84569"> </a>The second parameter of <b class="tclProc">objectCreate</b> is the name of a bitmap file to be displayed as an icon at the bottom of the launcher. Add the bitmap file to the resource bitmap directory for the launcher. In this example the complete path to the bitmap is <i class="textVariable">installDir</i><b class="file">/host/resource/bitmap/Launch/objects/wtxapp</b>. This file can be created with an icon editor like <b class="command">bitmap</b> from the X11 distribution. For more information about <b class="tclProc">objectCreate</b>, see the online material under <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tornado API Reference&gt;GUI Tcl Library (UNIX)</font></b>.</p></dl></dl><h4 class="EntityTitle"><a name="84571"><font face="Helvetica, sans-serif" size="-1" class="sans">Example 6-2:&nbsp;&nbsp;Install wtxapp in Launcher</font></a></h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="84572"># Wtxapp.tcl - simple wtx application support for launch # # modification history # -------------------- # 01a,25jul95,p_m  written #*/  # Add a wtxapp activation button to bottom of the launcher # The associated icon is the default icon (WRS logo) if there is not a # bitmap file called "wtxapp" in  # <i class="textVariable">installDir</i>/host/resource/bitmaps/Launch/objects.   objectCreate app wtxapp    wtxapp       {launchWtxapp}</a></b><dd> <b><a name="84573">######################################################################## # # wtxapp launch on selected target server #</a></b><dd> <b><a name="84575">proc launchWtxapp {} {     global env     global tgtsvr_selected     global tgtsvr_user     global tgtsvr_lock</a></b><dd> <b><a name="84577">    # check for a selected target server</a></b><dd> <b><a name="84579">    if {$tgtsvr_selected == ""} {         noticePost error "Select a target first."         return     }</a></b><dd> <b><a name="84581">    # check if target server is locked</a></b><dd> <b><a name="84583">    if {$tgtsvr_lock == "locked"} {         noticePost error "Target server locked by $tgtsvr_user."         return     }</a></b><dd> <b><a name="84585">    # check if we have access authorization on the selected target server      if {$tgtsvr_lock == "unauthorized"} {         noticePost error "Access not authorized."         return     }      exec wtxapp $tgtsvr_selected &amp; }</a></b></pre></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84587">6.3.2  &nbsp;&nbsp;The Launch Toolbar (Windows Hosts)</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84589"> </a>Once the new Tornado application is working, you can add it to the Tornado launch toolbar. To do this, install a Tcl resource file containing a command to add a button to the toolbar in the <b class="file">Tornado </b>directory. The name of this file is related to the application you are starting and is prefixed with "01"so that it will be sourced with other applications early in the initialization process. The complete path to the new resource file is:</p><dl class="margin"><dd><div class="Indent"><a name="84590"> </a><i class="textVariable">installDir</i><b class="file">\host\resource\tcl\app-config\Tornado\01Wtxapp.win32.tcl</b> </div><br></dl><dd><p class="Body"><a name="84594"> </a>The Tcl program shown in <a href="c-adding3.html#84597">Example&nbsp;6-3</a> uses the <b class="tclProc">controlCreate</b> command to create a new button in the Tornado launcher. This button is associated with the <b class="tclProc">launchWtxapp</b> Tcl routine that gets the name of the target server currently selected in the launcher target window and passes it as a parameter to <b class="command">wtxapp</b>.</p><dd><p class="Body"><a name="84595"> </a>The <b class="command">-bitmap</b> parameter of <b class="tclProc">controlCreate</b> is the name of a bitmap file to be displayed as an icon on the button. Add the bitmap file to the resource bitmap directory for the toolbar. In this example the complete path to the bitmap is <i class="textVariable">installDir</i><b class="file">\host\resource\bitmaps\Launch\controls\wtxapp.bmp</b>. This file can be created with an icon editor such as Microsoft <b class="file">Paintbrush</b>. For more information about <b class="tclProc">controlCreate </b>see the online material under <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tornado API Reference&gt;GUI Tcl Library (Windows)</font></b>.</p></dl></dl><h4 class="EntityTitle"><a name="84597"><font face="Helvetica, sans-serif" size="-1" class="sans">Example 6-3:&nbsp;&nbsp;Install wtxapp on Launch Toolbar</font></a></h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="84598"># Wtxapp.win32.tcl - simple wtx application support for launcher # # modification history # -------------------- # 01a, 05may96, j_k written #*/  # Add a wtxapp activation button to the launch toolbar # The associated bitmap will be the default bitmap (WRS logo) if # there is no bitmap file called "wtxapp" in # <i class="textVariable">installDir</i>/host/resource/bitmaps/Tornado, no bitmap appears  set wtxappBitmap [wtxPath host resource bitmaps Tornado]Wtxapp.bmp controlCreate launch [list toolbarbutton -name wtxapp \                     -callback launchWtxapp \                     -tooltip "Launch Wtxapp" \                     -bitmap $wtxappBitmap]</a></b><dd> <b><a name="85295"></a></b><dd> <b><a name="85296"></a></b><dd> <b><a name="85297">############################################################################ # wtxapp launch on selected target server #  proc launchWtxapp {} {     global env      # first get the name of the selected target      set tgtsvr_selected [selectedTargetGet]         if {$tgtsvr_selected == ""} {             messageBox -stopicon "Select a target first."             return         }      # Then try to attach to the tool without any errors.     # If any, return the error to be displayed for the user.          if {[catch {wtxToolAttach $tgtsvr_selected wtxapp} attachRetVal]} {             messageBox -stopicon "Tool attach failed. $attachRetVal"             return         }      # Next try to get the target server information.     # If any errors, report to the user          if [catch "wtxTsInfoGet" info] {             if {[lindex $info 3] == "(SVR_TARGET_NOT_ATTACHED)"} {                 wtxToolDetach                 messageBox -stopicon "Target not attached"                 return             }             messageBox -stopicon "Couldn't obtain target server infomation"             return         }      # If we get here, looks pretty good      set tgtsvr_user         [lindex $info 8]     set tgtsvr_lock         [lindex $info 11]      # Now check if target server is locked      if {$tgtsvr_lock == "locked"} {         messageBox -stopicon "Target server locked by $tgtsvr_user."         return     }      # Now check if we have access authorization on the selected target server      if {$tgtsvr_lock == "locked"} {         messageBox -stopicon "Access not authorized."         return     }</a></b><dd> <b><a name="85302">    # Finally since everything looks good lets launch the target server      if {[catch {toolLaunch "Wtxapp" "wtxapp $tgtsvr_selected" \         $env(WIND_BASE)/host/x86-win32/bin 0 0 0 0 0 0} result]} {             puts "\nError: wtxapp launch failed: '$result'\n"         }</a></b><dd> <b><a name="84680">    }</a></b></pre></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-adding.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-adding.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-adding2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-adding4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天堂av在线一区| 91久久精品一区二区三| 色综合天天综合色综合av| 欧美精品乱人伦久久久久久| 欧美va亚洲va在线观看蝴蝶网| 国产精品拍天天在线| 日本欧美大码aⅴ在线播放| 白白色 亚洲乱淫| 欧美电影免费观看高清完整版在 | 91久久精品一区二区三| 精品处破学生在线二十三| 亚洲超丰满肉感bbw| 99久久久久久| 久久久精品一品道一区| 美国av一区二区| 欧美精品欧美精品系列| 亚洲欧美另类综合偷拍| 国产成人av电影在线播放| 日韩精品中午字幕| 日韩精品1区2区3区| 欧美影视一区在线| 亚洲人成伊人成综合网小说| 成人国产在线观看| 中文字幕第一页久久| 国产精品18久久久久久久久久久久| 欧美精品成人一区二区三区四区| 亚洲综合在线观看视频| 91在线视频播放地址| 日韩毛片在线免费观看| 成人黄色免费短视频| 国产精品三级久久久久三级| 国产精品一区二区在线观看不卡| 精品国产乱子伦一区| 久久99精品国产91久久来源| 日韩欧美在线网站| 麻豆精品在线播放| 精品久久人人做人人爽| 激情久久久久久久久久久久久久久久| 欧美一区二区三区免费在线看| 亚洲3atv精品一区二区三区| 欧美日韩一二区| 视频一区在线播放| 欧美成人女星排名| 国产精品综合一区二区| 中文成人av在线| 91欧美一区二区| 午夜在线成人av| 日韩精品一区二区三区视频| 国产高清在线观看免费不卡| 欧美经典一区二区三区| 99精品在线观看视频| 亚洲成人免费av| 精品成人在线观看| 成人av在线播放网址| 亚洲精品日韩一| 欧美一区二区三区的| 国产电影一区二区三区| 亚洲色图一区二区| 91精品国产色综合久久久蜜香臀| 精久久久久久久久久久| 国产精品电影一区二区| 欧美日韩国产高清一区二区| 香蕉成人伊视频在线观看| 国产精品久久福利| 中文字幕一区三区| 国产一区二区三区精品视频| 国产91清纯白嫩初高中在线观看 | 中文字幕制服丝袜一区二区三区| 亚洲天堂av一区| 全部av―极品视觉盛宴亚洲| 国产一区二区三区四| 丁香婷婷综合激情五月色| 91久久人澡人人添人人爽欧美 | 成人综合婷婷国产精品久久| 亚洲一二三区视频在线观看| 日韩欧美卡一卡二| 91视频一区二区| 九九久久精品视频| 国产一区二区三区久久久| 亚洲日本一区二区| 精品粉嫩aⅴ一区二区三区四区 | 国产成人在线视频网址| 亚洲成人第一页| 国产精品久久福利| 日韩视频免费观看高清完整版| 不卡欧美aaaaa| 国内精品嫩模私拍在线| 亚洲成人av免费| 亚洲猫色日本管| 国产亚洲一二三区| 日韩欧美高清在线| 欧美亚洲尤物久久| 99久久精品国产导航| 国产成人精品一区二区三区四区 | 成人高清免费在线播放| 麻豆成人免费电影| 视频一区二区三区中文字幕| 亚洲情趣在线观看| 日韩理论片在线| 久久精品视频在线看| 欧美一区二区三区免费视频| 欧美日韩国产免费一区二区 | 粉嫩aⅴ一区二区三区四区五区| 日韩中文字幕1| 亚洲愉拍自拍另类高清精品| 国产精品剧情在线亚洲| 国产午夜亚洲精品午夜鲁丝片| 日韩欧美在线影院| 欧美一级高清大全免费观看| 欧美剧在线免费观看网站| 欧美丝袜第三区| 欧美亚男人的天堂| 欧美综合欧美视频| 欧美性大战xxxxx久久久| 欧洲精品视频在线观看| 在线视频国产一区| 欧美日韩dvd在线观看| 欧美日韩一区二区三区不卡| 欧美在线短视频| 欧美性猛交一区二区三区精品| 欧美天堂一区二区三区| 欧美日韩免费一区二区三区视频| 欧美三级欧美一级| 日韩美女视频一区二区在线观看| 欧美成人伊人久久综合网| 精品成人佐山爱一区二区| 久久品道一品道久久精品| 国产欧美一区二区精品性| 日日骚欧美日韩| 麻豆成人91精品二区三区| 精品一区二区三区香蕉蜜桃| 国产高清不卡一区| 99re亚洲国产精品| 欧美丝袜自拍制服另类| 日韩一级免费观看| 国产精品婷婷午夜在线观看| 亚洲精品免费一二三区| 日韩电影在线免费| 国产精品一区二区久久不卡| 北条麻妃一区二区三区| 欧美日韩国产123区| 日韩欧美第一区| 国产精品视频看| 一区二区激情小说| 麻豆精品在线视频| 91在线视频官网| 日韩视频免费观看高清完整版 | 在线观看日产精品| 欧美一级高清大全免费观看| 国产日韩一级二级三级| 亚洲你懂的在线视频| 久久精品国产澳门| 99国产欧美久久久精品| 日韩三级av在线播放| 国产精品久久久久久久久免费樱桃| 亚洲午夜电影在线观看| 国产·精品毛片| 欧美日韩大陆在线| 国产精品丝袜一区| 日本成人超碰在线观看| 99免费精品在线观看| 欧美一区二区三区小说| 亚洲欧美日韩小说| 国模冰冰炮一区二区| 欧美日韩一区二区在线视频| 欧美激情一区二区三区蜜桃视频| 午夜影视日本亚洲欧洲精品| 成人做爰69片免费看网站| 欧美一级午夜免费电影| 亚洲精品日韩综合观看成人91| 国产一区美女在线| 51精品国自产在线| 亚洲男人电影天堂| 成人一区二区三区视频在线观看| 欧美日韩在线直播| 亚洲另类春色校园小说| 国产精品伊人色| 精品日韩在线观看| 日本不卡一二三区黄网| 欧美视频中文字幕| 一区二区三区欧美在线观看| 丁香一区二区三区| 久久精品欧美日韩| 国内精品视频666| 2022国产精品视频| 精品无人区卡一卡二卡三乱码免费卡| 欧美日韩国产精品成人| 亚洲福利一区二区| 欧美日韩国产天堂| 亚洲成人777| 欧美高清视频一二三区| 亚洲成人午夜影院| 欧美日韩国产精品自在自线| 亚洲高清免费视频| 欧美日韩成人在线| 日本欧美在线观看| 日韩欧美精品三级| 国产真实乱偷精品视频免| 久久伊人中文字幕| 国产成a人亚洲|