<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ` `您可以將 2-4-9、2-4-10 章節中建立的 Tk 窗口小部件分配到框架/標簽框架。 ``` #!/usr/bin/env wish frame .frame1 -bd 2 -width 100 -height 20 -relief groove labelframe .frame2 -text label -bd 2 -width 100 -height 50 -relief solid pack .frame1 pack .frame2 button .frame1.test1 -text test1 -command { puts "Well come!" } pack .frame1.test1 button .frame2.test2 -text text2 -command { puts "Good bye!" } pack .frame2.test2 ``` ![](https://img.kancloud.cn/22/8c/228c51ad50e868636359fdae80aa784d_63x108.png) ` `在將 Tk 窗口小部件分配到框架或標簽框架的情形下,路徑名稱將會和平常的不一樣。 ` `在上述樣品程序中,按鈕在框架和標簽框架上分配。框架的路徑名稱“.frame1” ,而標簽框 架的路徑名稱是“.frame2” 。因此,框架和標簽框架上所分配之按鈕的路徑名稱各指定為 “frame1.test1”和“frame1.test2” 。這些路徑名稱表示按鈕“test1”分配到框架“.frame1” , 而按鈕“test2”分配到標簽框架“.frame2” 。 ` `此外,如果不使用框架或標簽框架的路徑名稱而是使用 Tk 窗口小部件的路徑名稱,窗口小 部件將會分配到框架或標簽框架的外面。 ``` #!/usr/bin/env wish labelframe .frame -text label -bd 2 -width 100 -height 50 -relief solid pack .frame button .test -text test1 -command { puts "Well come" } pack .test ``` ![](https://img.kancloud.cn/2f/40/2f40d240dce06a72cdcee1c951e5d2f9_108x111.png) ![](https://img.kancloud.cn/cc/5f/cc5f8ac7105616834473906db29d96bf_484x196.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看