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

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

?? faqs.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z853">I want to use the arrow keys as a            control in my application, but GTK+ keeps stealing the            key press events to move the focus around.</a>          </h2>          <p>            Key press handling is somewhat complex. You might want            to read <a href="sec-gdkevent.html#SEC-GDKKEYFOCUS">the            section called <i>Keyboard Focus</i> in the chapter            called <i>GDK Basics</i></a> and <a href=             "z57.html#SEC-FOCUSWIDGET">the section called <i>            Focus</i> in the chapter called <i>GTK+ Basics</i></a>            for a brief overview. <a href=             "sec-gdkevent.html#SEC-GTKEVENTS">the section called            <i>Receiving GDK Events in GTK+</i> in the chapter            called <i>GDK Basics</i></a> is also relevant.          </p>          <p>            In short, key events are initially received by a            toplevel <tt class="CLASSNAME">GtkWindow</tt>. GTK+'s            key event behavior is more or less defined by default            key press event handler in <tt class="FILENAME">            gtkwindow.c</tt> (looking at this function is            instructive). It works as follows:          </p>          <ul>            <li>              <p>                If there's a focus widget, the key event signal is                emitted on the focus widget. If this emission                returns <span class="STRUCTNAME">TRUE</span>, as                described in <a href=                 "sec-gdkevent.html#SEC-GTKEVENTS">the section                called <i>Receiving GDK Events in GTK+</i> in the                chapter called <i>GDK Basics</i></a>, processing                stops.&#13;              </p>            </li>            <li>              <p>                If any of the accelerator groups attached to the                window contain an accelerator matching the event,                then processing stops.&#13;              </p>            </li>            <li>              <p>                If the key event hasn't been handled yet, there are                some default bindings; the arrow keys move the                focus around, for example.&#13;              </p>            </li>          </ul>          <p>            Thus, to override the arrow key behavior, you can            return <span class="STRUCTNAME">TRUE</span> from the            focus widget's signal emission, install an accelerator            for the arrow keys, or connect to <span class="SYMBOL">            "key_press_event"</span> on the toplevel window and use            <tt class="FUNCTION">            gtk_signal_emit_stop_by_name()</tt> to end the signal            emission before the <tt class="CLASSNAME">            GtkWindow</tt> default handler runs.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z854">Does GTK+ have multiple inheritance?</a>          </h2>          <p>            No, but "interfaces" (in Java terms) or "pure virtual            classes" (in C++ terms) are planned for the next            version. See <a href="z144.html#SEC-OVERRIDESIGNALS">            the section called <i>Overridable Signals</i> in the            chapter called <i>Writing a <tt class="CLASSNAME">            GtkWidget</tt></i></a> for a discussion of an ugly            workaround used in <tt class="CLASSNAME">GtkWidget</tt>            to create "activatable" and "scrollable" interfaces.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z855">I'm getting error messages from GDK. How            can I determine the cause of these?</a>          </h2>          <p>            First, run your program with the <tt class=            "APPLICATION">--sync</tt> option. This invokes <tt            class="FUNCTION">XSynchronize()</tt> to turn off event            buffering; it slows down the application, but causes            errors to be reported as soon as they occur.            Alternatively, some Xlib implementations let you turn            on synchronization by setting the global variable <span            class="STRUCTNAME">_Xdebug</span> to <span class=             "STRUCTNAME">TRUE</span> in a debugger.          </p>          <p>            Once errors are being reported synchronously, just run            your app in a debugger and wait for <tt class=            "FUNCTION">abort()</tt> to be called. For warnings, set            a breakpoint at <tt class="FUNCTION">g_logv()</tt>            which is the function called by the <tt class=            "FUNCTION">g_warning()</tt> macro.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z856">How do I update the GUI without            returning control to the main loop?</a>          </h2>          <p>            Just do this:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13; while (gtk_events_pending())   gtk_main_iteration();&#13;</pre>              </td>            </tr>          </table>          <p>            This code will handle all pending events, then return            control to you. You can also run nested instances of            <tt class="FUNCTION">gtk_main()</tt>; each call to <tt            class="FUNCTION">gtk_main_quit()</tt> exits one            instance. <tt class="FUNCTION">gnome_dialog_run()</tt>            uses this technique to block waiting for user input.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z857">How should I format code to be included            in GTK+ or Gnome?</a>          </h2>          <p>            The GTK+ coding style is basically the GNU coding style            (<a href="http://www.gnu.org/prep/standards_toc.html"            target=            "_top">http://www.gnu.org/prep/standards_toc.html</a>).            The Gnome libraries are less consistent, but lean            toward the Linux kernel coding style (documented in <tt            class="FILENAME">            /usr/src/linux/Documentation/CodingStyle</tt> on many            Linux systems).          </p>          <p>            The GTK+ style uses two-space indentation, puts all            braces on a new line, and leaves one space between            identifiers and opening parentheses, like this:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;if (whatever)  {    foo (arg1, arg2);  }&#13;</pre>              </td>            </tr>          </table>          <p>            Emacs uses this style by default.          </p>          <p>            The Gnome style uses eight-space indentation and            Kernighan and Ritchie braces, like so:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;if (whatever) {        foo (arg1, arg2); }&#13;</pre>              </td>            </tr>          </table>          <p>            It also leaves a space between identifiers and opening            parentheses. To make Emacs use the Gnome style, add a            line like this to the top of your source files:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 8 c-style: "K&amp;R" -*- */&#13;</pre>              </td>            </tr>          </table>          <p>            When preparing a patch for any piece of free software,            it's polite the style of the preexisting code. It's            customary to include a file called <tt class=            "FILENAME">HACKING</tt> in source code distributions            addressing this and similar issues; read it if it            exists.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z858">Is there a GUI builder for GTK+ and            Gnome?</a>          </h2>          <p>            A very promising GUI builder called Glade is being            developed. Glade can generate source code in several            languages, or an XML description of your widgets. An            add-on module called <tt class="APPLICATION">            libglade</tt> loads these XML descriptions at runtime            and creates the described widgets. The next release of            the Gnome libraries will very likely include or require            <tt class="APPLICATION">libglade</tt>.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z859">How well do GTK+ and Gnome support            internationalization?</a>          </h2>          <p>            GTK+ 1.2 supports most European and Asian languages.            GDK contains an API for loading fontsets and rendering            multibyte strings, though this book does not cover it.            The stock GTK+ widgets that handle text use this API            and will deal with multibyte strings correctly. GTK+            also supports input methods for Asian languages. GTK+            1.2 does <i class="EMPHASIS">not</i> support            right-to-left scripts, or scripts that require complex            ligatures and unusual line breaks. However, support for            these languages is a high priority for GTK+ 1.4. For            details on future plans, Owen Taylor's white paper at            <a href=            "http://developer.gnome.org/doc/whitepapers/gtki18n/"            target="_top">            http://developer.gnome.org/doc/whitepapers/gtki18n/</a> is            an excellent resource.          </p>          <p>            Both GTK+ and Gnome use the <tt class="APPLICATION">            gettext</tt> message catalog system to translate            user-visible strings, so any string the toolkit knows            how to render can be translated into foreign languages.            <a href="sec-i18n.html">the section called <i>            Internationalization</i> in the chapter called <i>Gnome            Application Basics</i></a> covers this topic.          </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="headers.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="online.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>Table of Header            Files</b></font>          </td>          <td colspan="2" align="right">            <font color="#000000" size="2"><b>Online            Resources</b></font>          </td>        </tr>      </table>    </div>  </body></html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品在线看片z| 亚洲欧美日韩国产成人精品影院 | 在线播放一区二区三区| 日韩一区二区免费在线观看| 中文字幕乱码日本亚洲一区二区| 一区二区三区精品视频在线| 国产一区欧美二区| 欧美亚洲高清一区| 欧美韩国一区二区| 日本不卡中文字幕| 91福利国产成人精品照片| 欧美成人r级一区二区三区| 亚洲精品国产第一综合99久久| 韩国女主播一区二区三区| 91久久精品网| 国产精品久久久久影院| 国内精品伊人久久久久影院对白| 91麻豆福利精品推荐| 欧美激情中文字幕一区二区| 久久99精品国产.久久久久久| 欧美性一二三区| 综合在线观看色| 国产乱子轮精品视频| 日韩视频一区二区在线观看| 亚洲一区二区在线观看视频| 成人激情午夜影院| 久久精品亚洲一区二区三区浴池| 日韩精品成人一区二区三区| 色婷婷久久久综合中文字幕| 国产精品久99| 国产成人av电影在线播放| 日韩欧美一区中文| 日韩中文字幕区一区有砖一区 | 欧美一区二区三区视频在线观看| 亚洲精品va在线观看| 91啪在线观看| 日韩毛片高清在线播放| 成人av网址在线| 国产午夜精品一区二区三区四区| 激情偷乱视频一区二区三区| 日韩女优av电影在线观看| 日韩 欧美一区二区三区| 91精品国产综合久久蜜臀| 日本成人在线不卡视频| 日韩欧美国产精品一区| 精品一区二区三区影院在线午夜| 日韩精品一区二区三区在线播放| 久久国产尿小便嘘嘘尿| 精品动漫一区二区三区在线观看 | 国产毛片精品视频| 国产午夜精品一区二区三区视频 | 国产一二精品视频| 久久久久久免费网| 国产精品88av| 久久麻豆一区二区| av成人免费在线| 亚洲色大成网站www久久九九| 不卡高清视频专区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产精品自拍网站| 国产欧美一区二区在线观看| 国产成人啪免费观看软件| 国产午夜精品久久久久久久| 久久99热这里只有精品| 精品国产91亚洲一区二区三区婷婷| 美女脱光内衣内裤视频久久网站 | 成人av在线电影| 亚洲视频在线观看一区| 91在线国产观看| 亚洲色图在线看| 欧美三级视频在线观看| 首页综合国产亚洲丝袜| 777xxx欧美| 蜜乳av一区二区| 国产亚洲综合av| 国产精品一区二区不卡| 欧美一区二区三级| 美国十次了思思久久精品导航| 538在线一区二区精品国产| 国模一区二区三区白浆| 国产日产欧美一区| 色先锋久久av资源部| 中文字幕日韩一区| 99久久国产综合精品色伊| 亚洲最快最全在线视频| 欧美精品乱人伦久久久久久| 玖玖九九国产精品| 国产精品视频免费看| 色噜噜狠狠色综合中国| 视频一区二区不卡| 国产亚洲美州欧州综合国| 91麻豆精品在线观看| 日本女人一区二区三区| 国产亚洲成aⅴ人片在线观看| 91视频com| 免费在线看成人av| 国产午夜精品一区二区三区四区| 欧美综合一区二区三区| 免费高清视频精品| 亚洲日本欧美天堂| 精品久久久久香蕉网| 色欲综合视频天天天| 久久国产日韩欧美精品| 综合中文字幕亚洲| 精品国产制服丝袜高跟| 91久久一区二区| 久久成人av少妇免费| 一区二区三区免费在线观看| 精品国产在天天线2019| 91福利资源站| 岛国一区二区在线观看| 天天综合网 天天综合色| 国产精品美女久久久久久久网站| 欧美日韩精品欧美日韩精品一综合| 国产成人在线免费| 免费视频一区二区| 一区二区三区欧美亚洲| 国产欧美视频一区二区三区| 欧美久久久久中文字幕| 97久久超碰国产精品| 亚洲电影第三页| 亚洲女性喷水在线观看一区| 精品欧美黑人一区二区三区| 色偷偷成人一区二区三区91| 国产精品综合一区二区| 中文字幕字幕中文在线中不卡视频| 欧美影院精品一区| 成人av资源在线观看| 免费观看成人av| 午夜影院久久久| 亚洲国产综合在线| 亚洲精品v日韩精品| 国产精品久久二区二区| 国产午夜精品在线观看| 精品播放一区二区| 日韩欧美黄色影院| 777精品伊人久久久久大香线蕉| 欧美午夜理伦三级在线观看| 一本久久a久久免费精品不卡| www.色综合.com| 波多野结衣欧美| 懂色av一区二区夜夜嗨| 懂色av一区二区夜夜嗨| 国产精品一线二线三线| 免费看黄色91| 视频在线观看国产精品| 亚洲欧美日韩久久| 亚洲色图视频免费播放| 中文字幕一区二区三区蜜月| 国产偷国产偷精品高清尤物 | 日韩欧美一级二级三级久久久| 6080yy午夜一二三区久久| 欧美精品少妇一区二区三区 | 韩国一区二区视频| 激情文学综合丁香| 国产在线看一区| 国产风韵犹存在线视精品| 国产风韵犹存在线视精品| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 蜜乳av一区二区| 国产乱码精品一区二区三| 国产成人在线色| av午夜精品一区二区三区| 色婷婷亚洲婷婷| 欧美精品一卡二卡| 精品久久久久久久久久久久久久久| 精品久久国产97色综合| 国产亚洲精品超碰| 一区二区三区四区蜜桃| 日韩经典一区二区| 国产一区二区三区在线观看免费视频 | 99精品久久只有精品| 色拍拍在线精品视频8848| 欧美日韩国产123区| 2020国产精品| 1000精品久久久久久久久| 亚洲高清免费在线| 欧美a一区二区| 成年人午夜久久久| 欧美日韩在线直播| 久久久久99精品国产片| 亚洲天堂福利av| 青草国产精品久久久久久| 国产精品一区二区x88av| 在线视频亚洲一区| 日韩精品中文字幕一区| 国产精品理伦片| 日韩va亚洲va欧美va久久| 国产风韵犹存在线视精品| 欧美日韩国产123区| 国产亚洲va综合人人澡精品| 亚洲第一会所有码转帖| 国产精品资源站在线| 欧美伊人精品成人久久综合97 | 69av一区二区三区| 欧美激情中文字幕| 日韩精品成人一区二区在线| 成人深夜视频在线观看| 91精品国产综合久久精品app| 久久亚洲一级片|