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

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

?? sec-containers.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
            </p>            <p>              <b>Figure 14. <span class="STRUCTNAME">              GtkTable</span> after expanding the window              vertically</b>            </p>          </div>          <p>            Next, imagine the user expanding the window            horizontally; only child widget number three can expand            horizontally. <a href=             "sec-containers.html#FIG-TABLEHORIZRESIZE">Figure            15</a> shows this.          </p>          <div class="FIGURE">            <a name="FIG-TABLEHORIZRESIZE"></a>            <p>              <img src="figures/tablehorizresize.png">            </p>            <p>              <b>Figure 15. <span class="STRUCTNAME">              GtkTable</span> after expanding the window              horizontally</b>            </p>          </div>          <p>            <a href="sec-containers.html#FIG-TABLEVERTSHRINK">            Figure 16</a> shows the result if the user shrinks the            table vertically, so that there isn't enough vertical            space to give all the widgets their size requests.            Child number two gets shortchanged, while child number            one gets all the vertical space it needs.          </p>          <div class="FIGURE">            <a name="FIG-TABLEVERTSHRINK"></a>            <p>              <img src="figures/tablevertshrink.png">            </p>            <p>              <b>Figure 16. <span class="STRUCTNAME">              GtkTable</span> after shrinking the window              vertically</b>            </p>          </div>          <p>            Finally, <a href=             "sec-containers.html#FIG-TABLEHORIZSHRINK">Figure            17</a> shows the result if the user shrinks the table            horizontally. Child number three gets the short end of            the stick in this situation.          </p>          <div class="FIGURE">            <a name="FIG-TABLEHORIZSHRINK"></a>            <p>              <img src="figures/tablehorizshrink.png">            </p>            <p>              <b>Figure 17. <span class="STRUCTNAME">              GtkTable</span> after shrinking the window              horizontally</b>            </p>          </div>          <p>            It's not a bad idea to try resizing your window like            this whenever you're designing a layout, just to be            sure something sane happens. The definition of "sane"            varies with the exact widgets you've placed in the            layout.          </p>        </div>        <div class="SECT3">          <h3 class="SECT3">            <a name="Z54">Using <tt class="FUNCTION">            gtk_table_attach_defaults()</tt></a>          </h3>          <p>            Since <tt class="FUNCTION">gtk_table_attach()</tt> is            somewhat cumbersome, there's a simpler version called            <tt class="FUNCTION">gtk_table_attach_defaults()</tt>,            shown in <a href=            "sec-containers.html#FL-ATTACHDEFAULTS">Figure 18</a>.            This version attaches the child with the options <span            class="STRUCTNAME">GTK_EXPAND</span> and <span class=             "STRUCTNAME">GTK_FILL</span>, and no padding.          </p>          <p>            It's tempting to use <tt class="FUNCTION">            gtk_table_attach_defaults()</tt> all the time to save            typing, but really you shouldn't; in fact, it's            probably fair to say that it's rarely used. The            function is only useful if the defaults happen to be            exactly the settings you want. Most of the time, you            need to carefully tweak your table attachment            parameters to get really nice behavior when your window            is resized. Always try resizing your window to be sure            you've designed your layout well.          </p>          <div class="FIGURE">            <a name="FL-ATTACHDEFAULTS"></a>            <div class="FUNCSYNOPSIS">              <a name="FL-ATTACHDEFAULTS.SYNOPSIS"></a>              <table border="0" bgcolor="#E0E0E0" width="100%">                <tr>                  <td><pre class="FUNCSYNOPSISINFO">#include &lt;gtk/gtktable.h&gt;</pre>                  </td>                </tr>              </table>              <p>                <code><code class="FUNCDEF">GtkWidget* <tt class=                 "FUNCTION">                gtk_table_attach_defaults</tt></code>(GtkTable* <tt                class="PARAMETER"><i>table</i></tt>, GtkWidget* <tt                class="PARAMETER"><i>child</i></tt>, guint <tt                class="PARAMETER"><i>left_side</i></tt>, guint <tt                class="PARAMETER"><i>right_side</i></tt>, guint <tt                class="PARAMETER"><i>top_side</i></tt>, guint <tt                class="PARAMETER"><i>bottom_side</i></tt>);</code>              </p>            </div>            <p>              <b>Figure 18. Attaching with Defaults</b>            </p>          </div>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z55">Other Layout Widgets</a>        </h2>        <p>          Boxes and tables are the most commonly-used layout          widgets by far. However, there are a few others for          special situations.        </p>        <ul>          <li>            <p>              <tt class="CLASSNAME">GtkButtonBox</tt> is a special              kind of box appropriate for the "action area" of a              dialog.&#13;            </p>          </li>          <li>            <p>              <tt class="CLASSNAME">GtkPacker</tt> supports <tt              class="APPLICATION">Tk</tt>-style packing, useful if              you're familiar with <tt class="APPLICATION">              Tk</tt>.&#13;            </p>          </li>          <li>            <p>              <tt class="CLASSNAME">GtkLayout</tt> provides an              infinite scrolling area. In general, scrolling areas              in GTK+ are limited to just over 30,000 pixels,              because that is the maximum size of an X window.&#13;            </p>          </li>          <li>            <p>              <tt class="CLASSNAME">GtkFixed</tt> allows you to              manually position widgets at fixed coordinates.&#13;            </p>          </li>        </ul>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z56">Manually Affecting Layout</a>        </h2>        <p>          It's possible to manually override GTK+'s geometry          management. This is a bad idea 95% of the time, because          GTK+'s geometry is essentially the user's preferred          geometry, determined by the theme, and resizing toplevel          windows. If you find yourself wanting to do things          manually, it's probably because you're using the wrong          layout container, or you really should be writing a          custom container widget.        </p>        <p>          You can force a size or position on a widget with the          functions shown in <a href="sec-containers.html#FL-SETU">          Figure 19</a>. However, it is rarely a good idea to use          them. In particular, <tt class="FUNCTION">          gtk_widget_set_usize()</tt> should not be used to set a          toplevel window's default size. Usually you want to set          window size because you've saved the application's state          and you're restoring it, or because the user specified a          window geometry on the command line. Unfortunately, if          you use <tt class="FUNCTION">gtk_widget_set_usize()</tt>          the user will be unable to shrink the window, and you'll          get hate mail. Rather than force a size, you want to          specify an initial size with <tt class="FUNCTION">          gtk_window_set_default_size()</tt>, shown in <a href=           "sec-containers.html#FL-DEFAULTSIZE">Figure 20</a>. <tt          class="FUNCTION">gtk_widget_set_usize()</tt> is almost          never a good idea for non-toplevel widgets either; most          of the time, you can get better results using the proper          layout widget.        </p>        <p>          <tt class="FUNCTION">gtk_widget_set_uposition()</tt> is          only useful for toplevel windows; it borders on          nonsensical for other widgets, and will most likely cause          bad things to happen. It's primarily used to honor a <tt          class="APPLICATION">--geometry</tt> command line          argument.        </p>        <p>          All three of these functions can accept <span class=           "STRUCTNAME">-1</span> for the <span class="STRUCTNAME">          x</span>, <span class="STRUCTNAME">y</span>, <span class=           "STRUCTNAME">width</span>, or <span class="STRUCTNAME">          height</span> argument. The functions ignore any <span          class="STRUCTNAME">-1</span> argument; this allows you to          set only one of the two arguments, leaving the default          value for the other.        </p>        <div class="FIGURE">          <a name="FL-SETU"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-SETU.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;gtk/gtkwidget.h&gt;</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gtk_widget_set_uposition</tt></code>(GtkWidget* <tt              class="PARAMETER"><i>widget</i></tt>, gint <tt class=               "PARAMETER"><i>x</i></tt>, gint <tt class=              "PARAMETER"><i>y</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gtk_widget_set_usize</tt></code>(GtkWidget* <tt              class="PARAMETER"><i>widget</i></tt>, gint <tt class=               "PARAMETER"><i>width</i></tt>, gint <tt class=               "PARAMETER"><i>height</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 19. Forcing Allocations</b>          </p>        </div>        <div class="FIGURE">          <a name="FL-DEFAULTSIZE"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-DEFAULTSIZE.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;gtk/gtkwindow.h&gt;</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gtk_window_set_default_size</tt></code>(GtkWindow*              <tt class="PARAMETER"><i>window</i></tt>, gint <tt              class="PARAMETER"><i>width</i></tt>, gint <tt class=               "PARAMETER"><i>height</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 20. Default Window Size</b>          </p>        </div>      </div>    </div>    <div class="NAVFOOTER">      <br>      <br>      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <td width="25%" bgcolor="#ffffff" align="left">            <a href="cha-gtk.html"><font color="#0000ff" size="2">            <b>&lt;&lt;&lt; Previous</b></font></a>          </td>          <td width="25%" colspan="2" bgcolor="#ffffff" align=           "center">            <font color="#0000ff" size="2"><b><a href="ggad.html">            <font color="#0000ff" size="2"><b>            Home</b></font></a></b></font>          </td>          <td width="25%" bgcolor="#ffffff" align="right">            <a href="z57.html"><font color="#0000ff" size="2"><b>            Next &gt;&gt;&gt;</b></font></a>          </td>        </tr>        <tr>          <td colspan="2" align="left">            <font color="#000000" size="2"><b>GTK+            Basics</b></font>          </td>          <td colspan="2" align="right">            <font color="#000000" size="2"><b>Widget            Concepts</b></font>          </td>        </tr>      </table>    </div>  </body></html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲在线/亚洲| 欧美大胆人体bbbb| 精品一区二区在线看| 国产精品麻豆视频| 日韩一区和二区| 色婷婷激情综合| 狠狠色丁香久久婷婷综| 洋洋成人永久网站入口| 国产网红主播福利一区二区| 欧美日本韩国一区二区三区视频 | 在线观看视频一区二区 | 99久久精品国产导航| 另类欧美日韩国产在线| 一级特黄大欧美久久久| 国产精品美女一区二区| 久久免费的精品国产v∧| 欧美精选一区二区| 91官网在线观看| 99国产精品久久久久| 国产中文一区二区三区| 日日噜噜夜夜狠狠视频欧美人| 亚洲免费观看高清完整版在线观看熊| 久久久精品免费免费| 欧美电影免费提供在线观看| 欧美日韩精品一区二区三区蜜桃| 色综合久久久久久久| 成人三级在线视频| 国产成人a级片| 国产高清亚洲一区| 国产美女主播视频一区| 精品在线一区二区三区| 蜜臀a∨国产成人精品| 日本三级韩国三级欧美三级| 亚洲一区在线观看免费 | 日韩影院在线观看| 亚洲一区二区三区视频在线播放| 中文字幕一区av| 国产精品久久久久婷婷| 中文字幕在线不卡一区| 国产精品国产三级国产普通话蜜臀 | proumb性欧美在线观看| 国产99久久久国产精品免费看| 国产在线看一区| 国产一区二区免费在线| 国产一区在线观看视频| 国产一区二区三区免费| 国产一区二区剧情av在线| 国产一区二区在线看| 国产91丝袜在线播放0| 成人禁用看黄a在线| www.欧美色图| 91蝌蚪porny成人天涯| 91福利资源站| 9191国产精品| 久久久99久久| 中文字幕中文字幕一区| 亚洲美女视频一区| 婷婷激情综合网| 裸体一区二区三区| 国产成人午夜精品5599| www.久久久久久久久| 在线亚洲精品福利网址导航| 欧美亚洲国产一区二区三区| 91精品国产色综合久久ai换脸 | 亚洲色图一区二区三区| 午夜视频一区在线观看| 麻豆成人91精品二区三区| 国产69精品久久久久毛片| 成人激情开心网| 欧美性一二三区| 精品久久久久久久久久久久包黑料| 国产免费成人在线视频| 亚洲精品伦理在线| 美女一区二区久久| 成人污污视频在线观看| 欧美无人高清视频在线观看| 日韩欧美国产精品一区| 亚洲欧美自拍偷拍色图| 日日噜噜夜夜狠狠视频欧美人| 国产乱码精品一区二区三| 一本久久a久久精品亚洲| 日韩一区二区精品在线观看| 中文在线资源观看网站视频免费不卡| 一区二区欧美视频| 国内精品在线播放| 91国偷自产一区二区三区观看| 日韩一级片网站| 成人免费一区二区三区视频 | 久久精品亚洲精品国产欧美| 国产99久久久久| 欧美中文字幕一区| 久久久无码精品亚洲日韩按摩| 综合亚洲深深色噜噜狠狠网站| 免费人成在线不卡| 91美女片黄在线| xf在线a精品一区二区视频网站| 玉米视频成人免费看| 国产激情偷乱视频一区二区三区| 欧美艳星brazzers| 国产精品午夜春色av| 视频一区视频二区中文| 91麻豆国产香蕉久久精品| 欧美精品一区视频| 亚洲bt欧美bt精品777| 不卡的av电影在线观看| 精品国产髙清在线看国产毛片 | 国产专区综合网| 欧美日韩免费在线视频| 综合激情成人伊人| 国产精品一卡二卡| 日韩免费电影一区| 亚洲一二三四区不卡| 99久久国产综合精品女不卡| 26uuu久久综合| 免费在线观看不卡| 制服.丝袜.亚洲.中文.综合| 亚洲欧美影音先锋| 成人一区二区三区| 国产午夜精品理论片a级大结局| 麻豆91在线看| 日韩欧美国产一二三区| 午夜视频一区在线观看| 欧美四级电影在线观看| 亚洲免费在线视频| 色婷婷综合五月| 亚洲天堂网中文字| 91视视频在线直接观看在线看网页在线看| 久久久噜噜噜久噜久久综合| 日本成人在线不卡视频| 欧美精选一区二区| 丝瓜av网站精品一区二区| 欧美日韩精品一区二区三区蜜桃 | 精品日韩成人av| 欧美日韩大陆一区二区| 亚洲一区二区三区视频在线 | 国产精品久久久久精k8| 国产成人h网站| 中文字幕成人网| av激情亚洲男人天堂| 亚洲日本va午夜在线电影| 91视频.com| 亚洲综合精品自拍| 欧美久久一二区| 日韩av午夜在线观看| 69精品人人人人| 奇米在线7777在线精品| 欧美xxxxx牲另类人与| 国产剧情一区在线| 国产欧美一区二区精品性色| 成人福利在线看| 一区二区三区资源| 91精品国产一区二区人妖| 精品无人区卡一卡二卡三乱码免费卡| 久久综合精品国产一区二区三区| 丁香婷婷综合五月| 亚洲精品第1页| 日韩一区二区精品在线观看| 国产在线一区观看| 国产精品乱子久久久久| 日本伦理一区二区| 蜜臀av国产精品久久久久| 日本一区免费视频| 色综合久久天天| 丝袜诱惑制服诱惑色一区在线观看| 日韩一区二区三区高清免费看看| 国产精品自拍三区| 99久久亚洲一区二区三区青草| 亚洲欧美色综合| 91精品免费在线观看| 国产91清纯白嫩初高中在线观看| 一区二区三区精密机械公司| 欧美男同性恋视频网站| 国产乱对白刺激视频不卡| 亚洲精品欧美二区三区中文字幕| 欧美美女一区二区在线观看| 国产麻豆精品在线| 亚洲一级二级三级在线免费观看| 精品久久国产老人久久综合| eeuss鲁片一区二区三区在线观看| 亚洲综合丁香婷婷六月香| 精品少妇一区二区三区| 色综合久久天天| 国内精品自线一区二区三区视频| 亚洲女与黑人做爰| 欧美成人三级在线| 99久久精品国产观看| 精品一区二区免费在线观看| 亚洲视频免费在线观看| 精品日韩在线一区| 欧美吞精做爰啪啪高潮| 国产成人av自拍| 蜜桃精品视频在线观看| 亚洲精品国产一区二区三区四区在线| 欧美一区二区三区免费大片| 成人激情黄色小说| 精品一区二区在线看| 香蕉av福利精品导航| 一区二区中文视频| 久久综合精品国产一区二区三区| 欧美情侣在线播放|