亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美亚一区二区| 精品第一国产综合精品aⅴ| 欧美无砖砖区免费| 欧美sm极限捆绑bd| 亚洲黄色性网站| 国产91精品入口| 欧美一区二区不卡视频| 亚洲免费观看高清在线观看| 激情av综合网| 欧美美女视频在线观看| 中文字幕精品三区| 国产综合色产在线精品| 欧美日韩久久久一区| 国产精品美女www爽爽爽| 日本在线不卡一区| 色又黄又爽网站www久久| 国产欧美日韩卡一| 免费看精品久久片| 欧美日韩精品一区二区| 亚洲精品一二三| 波多野结衣视频一区| 久久久美女艺术照精彩视频福利播放| 亚洲午夜精品网| 91小视频免费观看| 久久久精品人体av艺术| 精东粉嫩av免费一区二区三区| 欧美日韩免费高清一区色橹橹| 国产精品久久久99| 国产美女在线精品| 欧美成人激情免费网| 日本在线不卡视频一二三区| 欧美精品黑人性xxxx| 亚洲资源中文字幕| 日本大香伊一区二区三区| 1区2区3区欧美| 9i看片成人免费高清| 国产精品你懂的在线欣赏| 国产激情一区二区三区| 国产日本欧洲亚洲| 成人一区二区三区视频 | 国产一区美女在线| 欧美刺激午夜性久久久久久久| 日韩成人精品视频| 日韩视频免费直播| 久久99最新地址| 国产亚洲一区二区三区在线观看| 国产一区二三区好的| 久久久99免费| www.成人在线| 亚洲一区二区三区视频在线播放| 在线亚洲高清视频| 日韩av一级电影| 久久欧美中文字幕| 97超碰欧美中文字幕| 亚洲综合无码一区二区| 91精品国模一区二区三区| 老司机午夜精品99久久| 久久久久久久久久久久久久久99| 成人亚洲精品久久久久软件| 中文字幕在线不卡| 欧美亚洲自拍偷拍| 久久丁香综合五月国产三级网站| 国产欧美一区二区在线观看| 91视频免费观看| 日产欧产美韩系列久久99| www成人在线观看| 色嗨嗨av一区二区三区| 美国十次了思思久久精品导航| 国产欧美日韩卡一| 欧美在线影院一区二区| 激情综合亚洲精品| 一区二区三区四区亚洲| 欧美va亚洲va| 91麻豆免费观看| 久久国产精品99久久人人澡| 亚洲人成网站在线| 欧美精品一区二区三区在线播放| 91玉足脚交白嫩脚丫在线播放| 免费在线看成人av| 国产精品久久久久久久久晋中| 欧美日本乱大交xxxxx| 成人影视亚洲图片在线| 蜜臀a∨国产成人精品| 亚洲欧美在线高清| 欧美成人bangbros| 欧亚洲嫩模精品一区三区| 国产精品中文有码| 手机精品视频在线观看| 国产欧美日韩精品一区| 欧美高清激情brazzers| 99久久精品国产一区二区三区| 性感美女久久精品| 自拍偷拍亚洲综合| 欧美国产精品久久| 久久综合色之久久综合| 欧美日韩黄色一区二区| 91原创在线视频| 成人久久视频在线观看| 久久国产夜色精品鲁鲁99| 亚洲伊人色欲综合网| 国产精品国产精品国产专区不蜜 | 国产裸体歌舞团一区二区| 亚洲一二三四在线观看| 中文字幕在线不卡一区| 2021中文字幕一区亚洲| 日韩三级免费观看| 91精品蜜臀在线一区尤物| 91国内精品野花午夜精品| 东方欧美亚洲色图在线| 国产九九视频一区二区三区| 久热成人在线视频| 三级欧美在线一区| 三级影片在线观看欧美日韩一区二区 | 亚洲精品自拍动漫在线| 中文字幕av资源一区| 国产网站一区二区三区| 26uuu国产日韩综合| 久久精品一区二区三区不卡牛牛 | 色婷婷av一区二区三区大白胸| av不卡一区二区三区| 99re8在线精品视频免费播放| 成人污污视频在线观看| 丰满少妇久久久久久久| 成年人午夜久久久| 91猫先生在线| 欧美另类变人与禽xxxxx| 欧美一级高清大全免费观看| 精品日韩av一区二区| 久久久久久综合| 成人免费一区二区三区视频| 一区二区三区高清在线| 亚洲成人激情av| 精品一区二区免费视频| 国产成+人+日韩+欧美+亚洲| 成人黄色在线网站| 91久久精品一区二区三| 欧美在线观看视频在线| 91精品国产色综合久久不卡电影| 欧美色偷偷大香| 久久久影视传媒| 欧美变态凌虐bdsm| 91精品国产91综合久久蜜臀| 欧美日韩高清影院| 日韩一区二区三区免费看| 精品欧美一区二区久久| 中文文精品字幕一区二区| 国产精品福利一区| 亚洲女同女同女同女同女同69| 亚洲欧美乱综合| 亚洲美女免费在线| 精品一区二区三区在线观看国产| 精品一区精品二区高清| 国产精品77777| 成人性生交大片免费看中文网站| 色狠狠色噜噜噜综合网| 欧美日本乱大交xxxxx| 日韩精品一区二区三区视频播放 | 久久综合久久综合九色| 国产人成亚洲第一网站在线播放| 国产精品久久久久久久午夜片| 亚洲天堂2016| 乱一区二区av| 成人在线视频一区| 欧美三级资源在线| 久久久夜色精品亚洲| 亚洲欧洲综合另类| 国产资源精品在线观看| 91麻豆福利精品推荐| 欧美精品久久99久久在免费线| 欧美xxxx在线观看| 亚洲国产欧美日韩另类综合| 激情欧美一区二区三区在线观看| www.66久久| 欧美一区二区女人| 亚洲人成精品久久久久| 精品中文字幕一区二区| 91老司机福利 在线| 精品国产乱码久久| 日韩不卡一区二区三区| 99天天综合性| 精品久久人人做人人爽| 亚洲线精品一区二区三区八戒| 成人av免费在线播放| 日韩精品一区二区三区中文精品| 亚洲欧洲一区二区在线播放| 亚洲一区中文在线| 91香蕉国产在线观看软件| 精品人伦一区二区色婷婷| 一区二区三区免费网站| 久久精品久久99精品久久| 欧美挠脚心视频网站| 中文字幕永久在线不卡| 国产一区二区三区免费观看| 91麻豆精品国产| 一区二区三区四区蜜桃| 99视频超级精品| 中文字幕国产一区| 99热在这里有精品免费| 久久久久久亚洲综合| 麻豆久久一区二区|