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

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

?? faqs.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>  <head>    <title>      Frequently Asked Questions    </title>    <meta name="GENERATOR" content=    "Modular DocBook HTML Stylesheet Version 1.45">    <link rel="HOME" title="GTK+ / Gnome Application Development"    href="ggad.html">    <link rel="UP" title="Appendices" href="appendices.html">    <link rel="PREVIOUS" title="Table of Header Files" href=     "headers.html">    <link rel="NEXT" title="Online Resources" href="online.html">  </head>  <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink=   "#840084" alink="#0000FF">    <div class="NAVHEADER">      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <th colspan="4" align="center">            <font color="#000000" size="2">GTK+ / Gnome Application            Development</font>          </th>        </tr>        <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>      </table>    </div>    <div class="CHAPTER">      <h1>        <a name="FAQS">Frequently Asked Questions</a>      </h1>      <p>        This chapter contains some commonly-asked questions, and        answers, with references to the rest of the book. See the        table of contents for a summary of the questions.      </p>      <div class="SECT1">        <h1 class="SECT1">          <a name="Z827">Questions, with Answers</a>        </h1>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z828">How do I make my application beep?</a>          </h2>          <p>            Call the <tt class="FUNCTION">gdk_beep()</tt> function.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z829">When do I need to destroy my            widgets?</a>          </h2>          <p>            See <a href="z57.html#WIDGETLIFECYCLE">the section            called <i>Widget Life Cycle</i> in the chapter called            <i>GTK+ Basics</i></a> for the simple answer, and <a            href="sec-finalization.html">the section called <i>            Object Finalization</i> in the chapter called <i>The            GTK+ Object and Type System</i></a> for more details.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z830">When I turn on memory profiling in glib,            my application becomes unstable. What gives?</a>          </h2>          <p>            Normally <tt class="FUNCTION">g_malloc()</tt> and <tt            class="FUNCTION">g_free()</tt> are just wrappers around            <tt class="FUNCTION">malloc()</tt> and <tt class=             "FUNCTION">free()</tt>, with a couple of extra features            described in <a href="cha-glib.html#GLIB-MEMORY">the            section called <i>Memory</i> in the chapter called <i>            glib: Portability and Utility</i></a>. However, when            you turn on memory profiling, they are no longer            interchangeable with <tt class="FUNCTION">malloc()</tt>            and <tt class="FUNCTION">free()</tt>. So anytime you            incorrectly mix the two pairs of functions, your            program will crash.          </p>          <p>            If you're using the GNU C library, which comes with            nearly all Linux distributions, it has a special            feature which can help you debug this. Set the <tt            class="APPLICATION">MALLOC_CHECK_</tt> environment            variable to <tt class="APPLICATION">2</tt> before            running your program, then run the program in <tt            class="APPLICATION">gdb</tt>. As soon as <tt class=             "FUNCTION">free()</tt> gets a pointer not created by            <tt class="FUNCTION">malloc()</tt>, <tt class=            "FUNCTION">abort()</tt> will be called.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z831">To create a custom display, I want to            place widgets in arbitrary locations, or move them            around rapidly, or draw to them directly. How?</a>          </h2>          <p>            You are probably fighting a losing battle. Widgets            really aren't what you want, most likely. Consider            using a <tt class="CLASSNAME">GtkDrawingArea</tt> or            the <tt class="CLASSNAME">GnomeCanvas</tt> to create            your custom display.          </p>          <p>            If you really need interactive widgets, such as a <tt            class="CLASSNAME">GtkEntry</tt> or <tt class=            "CLASSNAME">GtkButton</tt>, you can try to use <tt            class="CLASSNAME">GtkLayout</tt> or <tt class=            "CLASSNAME">GtkFixed</tt>.          </p>          <p>            If you have very specialized needs, you probably need            to write your own widget. <a href="cha-widget.html">the            chapter called <i>Writing a <tt class="CLASSNAME">            GtkWidget</tt></i></a> tells you how to do so.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z832">Why does my memory debugging tool show            memory leaks in glib?</a>          </h2>          <p>            glib does not call <tt class="FUNCTION">malloc()</tt>            every time it needs a new node in a data structure. If            it did, building linked lists (for example) would be            substantially slower. Instead, glib caches pools of            equal-sized "memory chunks" for use in these data            structures. Since the chunks are still available for            recycling when your program exits, they are never <tt            class="FUNCTION">free()</tt>d. (Of course, the            operating system will reclaim the memory, but tools            such as <tt class="APPLICATION">ccmalloc</tt> and <tt            class="APPLICATION">Purify</tt> will report it as a            memory leak.)          </p>          <p>            To get around this, you can plug a new <span class=             "STRUCTNAME">GAllocator</span> into most of the data            structures. A <span class="STRUCTNAME">            GAllocator</span> is a pool of memory as described            above. Just create an allocator manually, so you have a            pointer to it; you can then free the allocator when you            are finished. <a href="faqs.html#FL-GLISTALLOCATOR">            Figure 1</a> summarizes the relevant functions for            <span class="STRUCTNAME">GList</span>. A quick glance            through <tt class="FILENAME">glib.h</tt> will reveal            the corresponding functions for other data structures.          </p>          <p>            The <tt class="APPLICATION">name</tt> argument to <tt            class="FUNCTION">g_allocator_new()</tt> is used in            debugging messages; the <tt class="APPLICATION">            n_preallocs</tt> argument is passed through to <tt            class="FUNCTION">g_mem_chunk_new()</tt>.          </p>          <div class="FIGURE">            <a name="FL-GLISTALLOCATOR"></a>            <div class="FUNCSYNOPSIS">              <a name="FL-GLISTALLOCATOR.SYNOPSIS"></a>              <table border="0" bgcolor="#E0E0E0" width="100%">                <tr>                  <td><pre class="FUNCSYNOPSISINFO">#include &lt;glib.h&gt;</pre>                  </td>                </tr>              </table>              <p>                <code><code class="FUNCDEF">void <tt class=                "FUNCTION">                g_list_push_allocator</tt></code>(GAllocator* <tt                class="PARAMETER"><i>allocator</i></tt>);</code>              </p>              <p>                <code><code class="FUNCDEF">void <tt class=                "FUNCTION">                g_list_pop_allocator</tt></code>(void);</code>              </p>              <p>                <code><code class="FUNCDEF">GAllocator* <tt class=                 "FUNCTION">g_allocator_new</tt></code>(gchar* <tt                class="PARAMETER"><i>name</i></tt>, guint <tt                class="PARAMETER"><i>n_preallocs</i></tt>);</code>              </p>              <p>                <code><code class="FUNCDEF">void <tt class=                "FUNCTION">g_allocator_free</tt></code>(GAllocator*                <tt class="PARAMETER"><i>                allocator</i></tt>);</code>              </p>            </div>            <p>              <b>Figure 1. Functions for replacing the <span class=               "STRUCTNAME">GList</span> memory allocator</b>            </p>          </div>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z833">I get a bunch of "assertion failed"            warnings from GTK+. What causes these?</a>          </h2>          <p>            These come from the <tt class="FUNCTION">            g_return_if_fail()</tt> checks at the beginning of many            GTK+ functions. (They will only appear if your copy of            GTK+ was compiled with debugging turned on---and            hopefully it was if you are writing an application.)            You will need to look at the exact assertion that            failed to see what causes the warning. A common one: if            you accidentally access a destroyed widget or object,            you will have a pointer to memory garbage. Among other            things, this means the type tag will be invalid; so            GTK+'s runtime type checks will fail.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z834">Why are some things in Gnome rather than            GTK+?</a>          </h2>          <p>            Historical accident, mostly. Sometimes there is a            reason; for example, GTK+ does not include <tt class=             "APPLICATION">gdk_imlib</tt>, so does not include any            widgets that rely on it. In very general terms, GTK+            imposes less "policy" than Gnome; some Gnome widgets            are deliberately inflexible to keep people from            creating an inconsistent user interface. GTK+ does not            take this approach. Finally, some of the Gnome widgets            were considered too "experimental" to go in GTK+ at the            time. However, the core Gnome widgets discussed in this            book are not in this category.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z835">How can I center a window on the            screen?</a>          </h2>          <p>            If the window is a <tt class="CLASSNAME">            GnomeDialog</tt>, this is user-configurable and you            should not do it. In most other cases it would be a bit            strange; but there are exceptions, such as splash            screens. The function you want is <tt class="FUNCTION">            gtk_window_set_position()</tt>; you can leave the            window's position up to the window manager (the            default), ask to have it centered, or ask to have it            appear wherever the mouse pointer is. There is an            enumeration which corresponds to these settings: <span            class="STRUCTNAME">GTK_WIN_POS_NONE</span>, <span            class="STRUCTNAME">GTK_WIN_POS_CENTER</span>, <span            class="STRUCTNAME">GTK_WIN_POS_MOUSE</span>. For            example:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;  gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);&#13;</pre>              </td>            </tr>          </table>          <p>            You should do this <i class="EMPHASIS">before</i>            calling <tt class="FUNCTION">gtk_widget_show()</tt>,            because the function affects where the window appears            when it is first placed on-screen.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲男同性视频| 免费在线观看精品| 日韩精品亚洲一区| 成人精品鲁一区一区二区| 欧美日韩免费在线视频| 国产片一区二区| 日本在线不卡视频| 91成人在线观看喷潮| 亚洲国产激情av| 蜜桃视频在线观看一区二区| 日本精品免费观看高清观看| 久久久精品欧美丰满| 美女国产一区二区| 欧美精三区欧美精三区| 亚洲精品成人在线| 成人免费视频视频| 精品国产凹凸成av人导航| 午夜久久久久久久久| 91福利国产精品| 亚洲视频在线一区| 岛国一区二区在线观看| 欧美一区二区美女| 天天综合天天综合色| 91国产精品成人| 亚洲精品伦理在线| 91蝌蚪porny| 亚洲免费在线看| 91精彩视频在线观看| 中文字幕中文字幕一区二区| 福利一区二区在线| 国产精品久久午夜| 99久久99久久久精品齐齐 | 亚洲三级在线看| 成人综合激情网| 国产精品久久久久久福利一牛影视| 国产成人精品一区二| 国产色综合一区| 不卡一卡二卡三乱码免费网站| 国产午夜精品理论片a级大结局| 理论电影国产精品| 日韩一区二区三区在线视频| 精品一区二区在线视频| 久久人人爽爽爽人久久久| 精品一区二区免费在线观看| 久久先锋影音av| 99久久精品99国产精品| 亚洲一区二区成人在线观看| 在线观看视频91| 一区二区久久久久| 在线播放中文一区| 精品在线免费视频| 国产精品久久久久久妇女6080 | 亚洲欧美一区二区三区久本道91| 91丝袜美腿高跟国产极品老师| 亚洲一区二区美女| 日韩三级免费观看| 国产v日产∨综合v精品视频| 亚洲色图一区二区三区| 欧美日本韩国一区二区三区视频 | av电影在线观看完整版一区二区| 亚洲精选一二三| 日韩视频永久免费| 高清不卡在线观看av| 亚洲福利一区二区三区| 欧美成人官网二区| 不卡影院免费观看| 日韩国产高清影视| 国产精品久久久久久亚洲伦| 精品视频123区在线观看| 国产精品一区二区久久精品爱涩| 综合欧美亚洲日本| 日韩一区二区三区观看| 北条麻妃国产九九精品视频| 日韩和欧美的一区| 国产精品美女视频| 欧美一区二区高清| 97精品久久久久中文字幕| 蜜桃在线一区二区三区| 亚洲色图欧洲色图| 久久久777精品电影网影网 | 99精品视频在线观看| 日韩电影在线观看一区| √…a在线天堂一区| 日韩免费看的电影| 欧美亚洲国产怡红院影院| 国产91精品一区二区麻豆网站| 亚洲午夜激情av| 中文字幕亚洲在| 久久久久久亚洲综合| 91精品在线观看入口| 色综合天天综合网天天看片| 国产剧情一区二区三区| 蜜乳av一区二区三区| 亚洲成人动漫精品| 自拍偷拍亚洲综合| 欧美极品aⅴ影院| 日韩一区二区三区在线视频| 欧美色男人天堂| 91丨porny丨国产入口| 国产aⅴ精品一区二区三区色成熟| 首页国产欧美久久| 亚洲一卡二卡三卡四卡| 综合久久久久久| 中文字幕制服丝袜成人av| 国产日韩亚洲欧美综合| 国产色综合一区| 国产女主播一区| 欧美经典一区二区三区| 国产日韩v精品一区二区| 久久久99精品免费观看| 国产午夜精品一区二区三区嫩草| 日韩欧美中文字幕公布| 欧美一区二区视频在线观看| 4438亚洲最大| 精品日本一线二线三线不卡| 日韩免费看网站| 久久毛片高清国产| 久久久久久影视| 亚洲国产精品二十页| 最新日韩在线视频| 亚洲日本一区二区| 亚洲午夜久久久久久久久电影网| 亚洲午夜影视影院在线观看| 亚洲不卡av一区二区三区| 亚洲成人福利片| 麻豆国产欧美日韩综合精品二区| 麻豆国产精品官网| 丁香亚洲综合激情啪啪综合| av日韩在线网站| 欧美性猛交xxxx乱大交退制版| 欧美高清一级片在线| 日韩三级伦理片妻子的秘密按摩| 精品国产区一区| 国产精品传媒在线| 亚洲风情在线资源站| 美女网站在线免费欧美精品| 国产成人免费视频网站高清观看视频| 国产.精品.日韩.另类.中文.在线.播放| 成人爱爱电影网址| 91福利社在线观看| 欧美一区二区三区在线电影| 国产欧美一区视频| 一区二区成人在线视频| 热久久久久久久| 成人av在线播放网站| 欧美在线你懂得| 欧美精品一区二区在线观看| 国产精品久久久久久久久动漫 | 中文一区二区完整视频在线观看| 国产精品久久久久久久久动漫| 偷拍亚洲欧洲综合| 国产精品一区二区久久精品爱涩 | 亚洲国产aⅴ成人精品无吗| 丝袜国产日韩另类美女| 国产精品一卡二卡| 在线观看成人免费视频| 欧美精品一区二区三区在线播放 | 久久婷婷成人综合色| 亚洲天堂精品在线观看| 日本一区中文字幕 | 丁香一区二区三区| 欧美日韩国产片| 国产欧美日韩在线视频| 性欧美疯狂xxxxbbbb| 高清beeg欧美| 精品久久久久久久久久久久久久久 | 国产一区二区三区黄视频 | 老司机午夜精品| 一本到高清视频免费精品| 久久午夜免费电影| 五月激情丁香一区二区三区| 欧美日韩成人激情| 亚洲欧美一区二区三区久本道91| 九九九久久久精品| 欧美日韩视频专区在线播放| 国产精品久久久一本精品| 国精品**一区二区三区在线蜜桃| 欧美日韩美女一区二区| 亚洲女同一区二区| 国产成人免费av在线| 精品久久国产97色综合| 香蕉久久夜色精品国产使用方法 | 综合久久国产九一剧情麻豆| 国产一区二区三区在线看麻豆| 91麻豆精品国产91久久久更新时间 | 日韩成人午夜精品| 欧洲国内综合视频| 亚洲欧美激情插| 成人午夜免费av| 久久精品欧美一区二区三区不卡 | 在线亚洲人成电影网站色www| 国产日韩精品一区二区浪潮av| 麻豆国产精品777777在线| 91精品国产综合久久小美女| 一区二区三区.www| 91精品福利视频| 亚洲一区二区偷拍精品| 在线视频你懂得一区| 亚洲日本丝袜连裤袜办公室| 91视频www|