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

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

?? sec-containers.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
            </p>          </div>          <p>            <b>Figure 4. Packing <tt class="CLASSNAME">            GtkBox</tt></b>          </p>        </div>        <p>          A box can contain two sets of widgets. The first set is          packed at the "start" (top or left) of the box; the          second at the "end" (bottom or right). If you pack three          widgets into the start of a box, the first widget you          pack appears topmost or leftmost; the second follows the          first; and the third appears closest to the center of the          box. If you then pack three widgets into the end of the          same box, the first appears bottommost or rightmost; the          second follows it; and the third appears closest to the          center. With all six widgets packed, the order from          top/left to bottom/right is: 1, 2, 3, 3, 2, 1. <a href=           "sec-containers.html#FIG-PACKSTARTEND">Figure 5</a> shows          this for <tt class="CLASSNAME">GtkVBox</tt>. Order of          packing is only important within each end of the box;          i.e., we could have alternated packing start and packing          end, with the same results.        </p>        <div class="FIGURE">          <a name="FIG-PACKSTARTEND"></a>          <p>            <img src="figures/packstartend.png">          </p>          <p>            <b>Figure 5. Buttons packed into a <tt class=            "CLASSNAME">GtkVBox</tt></b>          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z49"><tt class="CLASSNAME">GtkBox</tt> Layout            Details</a>          </h3>          <p>            Packing is affected by three parameters, which are the            same for both start and end packing; the meaning of            these parameters is somewhat complicated, because they            interact with the <span class="STRUCTNAME">            homogeneous</span> setting of the box and with each            other.          </p>          <p>            Here's how a <tt class="CLASSNAME">GtkBox</tt> computes            its size request for the "interesting" direction (width            for <tt class="CLASSNAME">GtkHBox</tt>, height for <tt            class="CLASSNAME">GtkVBox</tt>):          </p>          <ol type="1">            <li>              <p>                The total requested size of each child is                considered to be the child's size request, plus two                times the <span class="STRUCTNAME">padding</span>                value used to pack the child. A child's <span                class="STRUCTNAME">padding</span> is the amount of                blank space on either side of it. In short, Child                Size = (Child Widget's Size Request) + 2*(Child                Padding).&#13;              </p>            </li>            <li>              <p>                If the box is homogeneous, the base size request                for the entire box is equal to the size (request +                padding) of the largest child, times the number of                children. In a homogeneous box, all children are as                large as the largest child.&#13;              </p>            </li>            <li>              <p>                If the box is not homogeneous, the base size                request for the entire box is the sum of the size                (request + padding) of each child.&#13;              </p>            </li>            <li>              <p>                The box-wide <span class="STRUCTNAME">                spacing</span> setting determines how much blank                space to leave between children; so this value is                multiplied by the number of chilren minus one, and                added to the base size request. Note that <i class=                 "FIRSTTERM">spacing</i> does not belong to a child;                it is blank space between children and is                unaffected by the <span class="STRUCTNAME">                expand</span> and <span class="STRUCTNAME">                fill</span> parameters. <i class="FIRSTTERM">                Padding</i>, on the other hand, is the space around                each child and <i class="EMPHASIS">is</i> affected                by the child's packing parameters.&#13;              </p>            </li>            <li>              <p>                All containers have a "border width" setting; two                times the border width is added to the request,                representing a border on either side. Thus, the                total size requested by a <tt class="CLASSNAME">                GtkBox</tt> is: (Sum of Child Sizes) +                Spacing*(Number of Children - 1) + 2*(Border                Width).&#13;              </p>            </li>          </ol>          <p>            After computing its size request and delivering it to            its parent container, <tt class="CLASSNAME">GtkBox</tt>            will receive its size allocation and distribute it            among its children as follows:          </p>          <ol type="1">            <li>              <p>                Enough space for the border width and inter-child                spacing is subtracted from the allocation; the                remainder is the available space for children                themselves. This space is divided into two chunks:                the amount actually requested by the children                (child requisitions and padding), and the "extra."                Extra = (Allocation Size) - (Sum of Child                Sizes).&#13;              </p>            </li>            <li>              <p>                If the box is not homogeneous, the "extra" space is                divided among those children with the <span class=                 "STRUCTNAME">expand</span> parameter set to <span                class="STRUCTNAME">TRUE</span>. These children can                expand to fit available space. If no child can                expand, the extra is used to add more space in the                center of the box, between the start-packed widgets                and the end-packed widgets.&#13;              </p>            </li>            <li>              <p>                If the box is homogeneous, the extra is distributed                according to need; those children who requested                more space get less extra, so that everyone ends up                with the same amount of space. The <span class=                 "STRUCTNAME">expand</span> parameter is ignored for                homogeneous boxes---extra is distributed to all                children, not just the expandable ones.&#13;              </p>            </li>            <li>              <p>                When a child gets some extra space, there are two                possibilities. More padding can be added around the                child, or the child widget itself can be expanded.                The <span class="STRUCTNAME">fill</span> parameter                determines which will happen. If <span class=                 "STRUCTNAME">TRUE</span>, the child widget expands                to fill the space---that is, the entire space                becomes the child's allocation; if <span class=                 "STRUCTNAME">fill</span> is <span class=                "STRUCTNAME">FALSE</span>, the child's padding is                increased to fill the space, and the child is                allocated only the space it requested. Note that                <span class="STRUCTNAME">fill</span> has no effect                if <span class="STRUCTNAME">expand</span> is set to                <span class="STRUCTNAME">FALSE</span> and the box                is not homogeneous, because the child will never                receive any extra space to fill.&#13;              </p>            </li>          </ol>          <p>            Whew! Who wants to think about all that? Fortunately,            there are some common patterns of usage, so you don't            need to solve a multivariate equation to figure out how            to use the widget. The authors of the GTK+ Tutorial            boil things down nicely to five cases that occur in            practice; we'll follow in their footsteps here.          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z50">Non-Homogeneous Box Packing Patterns</a>          </h3>          <p>            There are three interesting ways to pack a            non-homogeneous box. First, you can pack all the            widgets into the end of the box, with their natural            size. This means setting the <span class="STRUCTNAME">            expand</span> parameter to <span class="STRUCTNAME">            FALSE</span>:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;  gtk_box_pack_start(GTK_BOX(box),                     child,                      FALSE, FALSE, 0);&#13;</pre>              </td>            </tr>          </table>          <p>            The result is shown in <a href=             "sec-containers.html#FIG-PACKNONHOMONOEXPANDNOFILL">            Figure 6</a>. The <span class="STRUCTNAME">            expand</span> parameter is the only one that matters in            this case; no children are receiving extra space, so            they wouldn't be able to fill it even if <span class=             "STRUCTNAME">fill</span> were <span class="STRUCTNAME">            TRUE</span>.          </p>          <div class="FIGURE">            <a name="FIG-PACKNONHOMONOEXPANDNOFILL"></a>            <p>              <img src="figures/packnonhomonoexpandnofill.png">            </p>            <p>              <b>Figure 6. Non-homogeneous, with <span class=               "STRUCTNAME">expand = FALSE</span></b>            </p>          </div>          <p>            Second, you can spread widgets throughout the box,            letting them keep their natural size as in <a href=             "sec-containers.html#FIG-PACKNONHOMOEXPANDNOFILL">            Figure 7</a>; this means setting the <span class=             "STRUCTNAME">expand</span> parameter to <span class=             "STRUCTNAME">TRUE</span>:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;  gtk_box_pack_start(GTK_BOX(box),                     child,                      TRUE, FALSE, 0);&#13;</pre>              </td>            </tr>          </table>          <div class="FIGURE">            <a name="FIG-PACKNONHOMOEXPANDNOFILL"></a>            <p>              <img src="figures/packnonhomoexpandnofill.png">            </p>            <p>              <b>Figure 7. Non-homogeneous, with <span class=               "STRUCTNAME">expand = TRUE</span> and <span class=               "STRUCTNAME">fill = FALSE</span></b>            </p>          </div>          <p>            Finally, you can fill the box with widgets (letting            larger children have more space) by setting the <span            class="STRUCTNAME">fill</span> parameter to <span            class="STRUCTNAME">TRUE</span> as well:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;  gtk_box_pack_start(GTK_BOX(box),                     child,                      TRUE, TRUE, 0);&#13;</pre>              </td>            </tr>          </table>          <p>            This configuration is shown in <a href=             "sec-containers.html#FIG-PACKNONHOMOEXPANDFILL">Figure            8</a>          </p>          <div class="FIGURE">            <a name="FIG-PACKNONHOMOEXPANDFILL"></a>            <p>              <img src="figures/packnonhomoexpandfill.png">            </p>            <p>              <b>Figure 8. Non-homogeneous, with <span class=               "STRUCTNAME">expand = TRUE</span> and <span class=               "STRUCTNAME">fill = TRUE</span></b>            </p>          </div>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z51">Homogeneous Box Packing Patterns</a>          </h3>          <p>            There are only two interesting ways to pack a            homogeneous box. Recall that the <span class=            "STRUCTNAME">expand</span> parameter is irrelevant for            homogeneous boxes; so the two cases correspond to the            <span class="STRUCTNAME">fill</span> parameter's            setting.          </p>          <p>            If <span class="STRUCTNAME">fill</span> is <span class=             "STRUCTNAME">FALSE</span>, you get <a href=             "sec-containers.html#FIG-PACKHOMONOFILL">Figure 9</a>.            Notice that the box is logically divided into three            equal parts, but only the largest child widget occupies            its entire space. The others are padded to fill their            third of the area. If <span class="STRUCTNAME">            fill</span> is <span class="STRUCTNAME">TRUE</span>,            you get <a href="sec-containers.html#FIG-PACKHOMOFILL">            Figure 10</a>; all the widgets are the same size.          </p>          <div class="FIGURE">            <a name="FIG-PACKHOMONOFILL"></a>            <p>              <img src="figures/packhomonofill.png">            </p>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草精品视频| 日韩欧美在线一区二区三区| 99视频超级精品| 国产成人午夜视频| 国产在线播放一区二区三区| 伦理电影国产精品| 日韩精品视频网| 久久国产视频网| 精品一区免费av| 国产一区二区主播在线| 国产毛片精品国产一区二区三区| 国产一区高清在线| 成人av午夜影院| 色偷偷久久人人79超碰人人澡| 欧洲精品在线观看| 欧美精品三级日韩久久| 日韩午夜小视频| 国产视频一区在线观看| 中文字幕一区二区视频| 亚洲黄色尤物视频| 五月婷婷综合激情| 久久丁香综合五月国产三级网站 | 国产精品18久久久久久vr| 国产精品一区2区| 久久久亚洲精品石原莉奈| 国产蜜臀97一区二区三区| 国产精品久久久久久久蜜臀| 亚洲靠逼com| 日本在线不卡视频| 国产精品18久久久久久vr | 久久久国产精品麻豆| 国产精品毛片久久久久久久| 亚洲一区二区三区在线看| 日本不卡一区二区| 国产成a人亚洲| 欧美中文一区二区三区| 精品国产区一区| 亚洲视频每日更新| 奇米精品一区二区三区在线观看 | 中国色在线观看另类| 一级精品视频在线观看宜春院 | 国产精品综合久久| 在线免费观看日韩欧美| 日韩欧美国产小视频| 日本一区二区电影| 五月综合激情网| 国产69精品久久久久毛片| 欧美网站大全在线观看| 久久久久久久久久久久电影| 亚洲综合色噜噜狠狠| 精品影院一区二区久久久| 色婷婷狠狠综合| 久久亚洲二区三区| 亚洲一区二区在线免费看| 国产一区二区三区高清播放| 91黄色小视频| 欧美国产精品一区| 日韩电影在线观看网站| 91香蕉国产在线观看软件| 日韩精品一区在线| 亚洲免费观看高清完整版在线观看熊| 精品中文字幕一区二区小辣椒| 91蜜桃视频在线| 久久亚洲精精品中文字幕早川悠里 | 国产精品美女久久久久av爽李琼| 五月婷婷综合激情| 色婷婷国产精品| 国产无一区二区| 蜜桃av一区二区| 欧美色精品天天在线观看视频| 亚洲国产成人在线| 久久er精品视频| 亚洲国产精品一区二区尤物区| 成人激情图片网| 久久综合中文字幕| 性久久久久久久久| 91麻豆蜜桃一区二区三区| 国产日本欧美一区二区| 美女久久久精品| 91精品国产一区二区人妖| 一区二区在线观看免费视频播放| 成人一区二区在线观看| 久久久久久久久伊人| 久久国产精品99久久人人澡| 91麻豆精品国产91久久久更新时间| 亚洲精品视频一区| 91浏览器在线视频| 国产精品久久久久婷婷| 国产aⅴ综合色| 久久久久久久久久看片| 国产资源精品在线观看| 欧美电影免费观看高清完整版在线 | 亚洲国产精品久久一线不卡| 91啪亚洲精品| 亚洲色图欧美在线| av在线不卡免费看| 日韩精品乱码免费| 欧美精品乱码久久久久久| 亚洲精品国产一区二区精华液| 国产精品一区专区| 久久精品免费在线观看| 国产乱码精品1区2区3区| 亚洲精品在线一区二区| 激情av综合网| 国产午夜亚洲精品理论片色戒| 国产一区二区三区香蕉 | 国产日产欧美一区二区视频| www国产亚洲精品久久麻豆| 精品一区二区综合| 亚洲精品在线电影| 国产一区啦啦啦在线观看| 久久香蕉国产线看观看99| 国产做a爰片久久毛片| 久久午夜国产精品| 国产成人av电影在线播放| 国产精品久线观看视频| 波多野结衣在线一区| 亚洲三级免费观看| 色婷婷av一区二区三区之一色屋| 亚洲一区免费观看| 91精品国产综合久久精品图片 | 91精品国产91久久久久久最新毛片 | 精品少妇一区二区| 激情综合五月天| 欧美高清一级片在线观看| 一本大道综合伊人精品热热| 亚洲电影在线免费观看| 日韩一区二区三区三四区视频在线观看| 六月丁香婷婷久久| 中文字幕成人在线观看| 色综合久久久久网| 日本伊人色综合网| 久久综合中文字幕| 91浏览器打开| 日韩—二三区免费观看av| 久久久亚洲精品一区二区三区| hitomi一区二区三区精品| 亚洲国产aⅴ成人精品无吗| 日韩亚洲欧美综合| proumb性欧美在线观看| 亚洲成av人**亚洲成av**| 精品久久久三级丝袜| 99久久久久久99| 日韩高清在线一区| 国产精品网曝门| 欧美图片一区二区三区| 国产乱妇无码大片在线观看| 亚洲精品视频在线看| 日韩欧美第一区| 91欧美一区二区| 久草在线在线精品观看| 亚洲伦理在线精品| 久久一夜天堂av一区二区三区| 91网站在线播放| 久久电影网站中文字幕| 一区二区三区在线免费| 久久品道一品道久久精品| 欧美三级日韩三级国产三级| 国产成人精品aa毛片| 五月天中文字幕一区二区| 欧美国产1区2区| 欧美喷水一区二区| 91日韩精品一区| 国产老妇另类xxxxx| 日韩电影一区二区三区四区| 日韩伦理电影网| 国产色婷婷亚洲99精品小说| 在线成人午夜影院| 色综合天天天天做夜夜夜夜做| 久久99久国产精品黄毛片色诱| 亚洲精品乱码久久久久久| 久久久久久一级片| 欧美一区二区福利在线| 在线视频你懂得一区| 丁香婷婷综合激情五月色| 蜜臀av一区二区在线观看| 亚洲视频资源在线| 国产日韩欧美电影| 丝瓜av网站精品一区二区 | www.欧美日韩| 激情小说欧美图片| 日本视频一区二区三区| 亚洲综合一区二区精品导航| 国产精品久久久久久久第一福利| 欧美大胆一级视频| 欧美男女性生活在线直播观看| 91蝌蚪porny九色| 成人黄色软件下载| 国产精品一区二区久久精品爱涩| 免费欧美在线视频| 三级一区在线视频先锋| 亚洲一区电影777| 亚洲日本电影在线| 一区精品在线播放| 国产欧美一区二区在线| 久久婷婷成人综合色| 日韩欧美中文一区| 日韩欧美成人一区| 欧美不卡激情三级在线观看| 欧美一区在线视频|