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

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

?? faqs.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
            really good reason to change the appearance of a            widget. How do I override the theme?</a>          </h2>          <p>            write this          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z843">Why are signals specified as strings            rather than integers or some sort of macro?</a>          </h2>          <p>            Strings are nicer. They are easier to type and less            headache for <span class="STRUCTNAME">GtkObject</span>            authors to maintain. They don't clutter the C            namespace. Typing a string incorrectly will trigger a            runtime error so macros don't improve error checking.            Finally, strings are internally converted to a numeric            ID so there is no loss in efficiency.          </p>          <p>            Consider the maintenance headache of using enumerations            instead: both enumeration values and their names would            have to be unique across GTK+, Gnome, and third-party            extensions. A nightmare.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z844">Why is GTK+ written in C?</a>          </h2>          <p>            First and foremost: asking this question in any public            forum is <i class="EMPHASIS">strongly discouraged</i>.            Don't do it. Check the archives for several extended            off-topic flamefests if you're interested.          </p>          <p>            Here are some reasons:          </p>          <ul>            <li>              <p>                The original authors wanted to write it in C, and                now many C-only applications are based on it. The                current authors enjoy C.&#13;              </p>            </li>            <li>              <p>                GTK+ handles types and objects much more flexibly                than C++; it is runtime-oriented, more like Java or                Objective C than C++ system. This is convenient for                GUI builders and language bindings.&#13;              </p>            </li>            <li>              <p>                C is the lingua franca of UNIX development; most                people know how to code in it. &#13;              </p>            </li>            <li>              <p>                There are already nice toolkits for languages such                as Java and Objective C. There are C++ wrappers for                GTK+; several, in fact. &#13;              </p>            </li>            <li>              <p>                C is more portable than C++; ANSI C++ is not yet                widely implemented, so only an ill-defined subset                of C++ can actually be used.&#13;              </p>            </li>            <li>              <p>                When GTK+ development first started, there was no                free, working C++ compiler. &#13;              </p>            </li>          </ul>          <p>            Again: do not ask this question on any mailing lists,            because people will not be amused.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z845">My motion event handler is only invoked            once; why is that?</a>          </h2>          <p>            If you specify <span class="STRUCTNAME">            GDK_POINTER_MOTION_HINT_MASK</span>, you must call <tt            class="FUNCTION">gdk_window_get_pointer()</tt> to get            more motion events. One motion event is sent each time            you get the pointer location. See <a href=             "sec-gdkevent.html#SEC-MOVEMENTEVENTS">the section            called <i>Mouse Movement Events</i> in the chapter            called <i>GDK Basics</i></a>.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z846">Can I move the mouse pointer myself?</a>          </h2>          <p>            There is an Xlib routine called <tt class="FUNCTION">            XWarpPointer()</tt> that does this, but GDK does not            wrap it. It is almost certainly a bad idea to use this            feature (in fact it is intended for window managers            only); you might consider writing to one of the GTK+ or            Gnome mailing lists to ask for another way to achieve            whatever you are trying to achieve. However, you can            always use Xlib routines (such as <tt class="FUNCTION">            XWarpPointer()</tt>) by including <tt class="FILENAME">            gdk/gdkx.h</tt> and <tt class="FILENAME">            gdk/gdkprivate.h</tt>, then manipulating the private            parts of the GDK data structures. If that sounds            unsavory, it probably should.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z847">How do I read the pixels out of a <span            class="STRUCTNAME">GdkPixmap</span>?</a>          </h2>          <p>            First and foremost: remember that a pixmap is a            server-side resource, i.e. possibly across a network            and <i class="EMPHASIS">definitely</i> across some kind            of socket. Therefore, you do not want to request its            pixels one by one. Iterating over a pixmap that way            could easily take many seconds.          </p>          <p>            GDK wraps an Xlib object called <span class=            "STRUCTNAME">XImage</span>. The wrapper is called <span            class="STRUCTNAME">GdkImage</span>. A <span class=             "STRUCTNAME">GdkImage</span> is essentially a local            copy of the data in a pixmap. You can copy a region of            a pixmap or window into a <span class="STRUCTNAME">            GdkImage</span> with the <tt class="FUNCTION">            gdk_image_get()</tt> routine, then get and set pixels            with <tt class="FUNCTION">gdk_image_get_pixel()</tt>            and <tt class="FUNCTION">gdk_image_put_pixel()</tt>.            You can also access the image's data structures            directly, but this is quite complicated (due to            visuals, depths, differences between host and network            byte order, and so on). If you modify the image, you            use <tt class="FUNCTION">gdk_draw_image()</tt> to copy            it back to a server-side drawable.          </p>          <p>            Copying a pixmap to a <span class="STRUCTNAME">            GdkImage</span>, or copying a <span class="STRUCTNAME">            GdkImage</span> to a pixmap, still involves moving            quite a bit of data over the network; however, since            it's all in one burst the speed can be tolerable in            many cases. Also, if the client and the server are on            the same machine, and the X shared memory extension is            available, GDK will automatikcally set up a shared            memory segment to copy the data.          </p>          <p>            Most of the time, if you plan to do a lot of image            manipulation, you are better off using RGB buffers as            your primary data structure (see <a href=             "z132.html#SEC-GDKRGB">the section called <i>RGB            Buffers</i> in the chapter called <i>GDK            Basics</i></a>). The functions in <tt class="FILENAME">            gdk/gdkrgb.h</tt> allow you to copy an RGB buffer to a            drawable. These functions use <span class="STRUCTNAME">            GdkImage</span> internally, but they are tuned to be            very fast and handle all the complexities for you.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z848">I'm drawing a lot of points to the            screen with <tt class="FUNCTION">gdk_draw_point()</tt>,            and it's unbelievably slow. What's wrong? How can I            render image data to the screen?</a>          </h2>          <p>            See the previous question. You should probably use the            GDK RGB functions (<a href="z132.html#SEC-GDKRGB">the            section called <i>RGB Buffers</i> in the chapter called            <i>GDK Basics</i></a>).          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z849">I'm trying to set the background of a            <tt class="CLASSNAME">GtkLabel</tt>, and it doesn't            work.</a>          </h2>          <p>            <tt class="CLASSNAME">GtkLabel</tt> is a windowless            widget; it is "transparent" and draws on its parent            container's background. If you want to set the            background, place the label in a <tt class="CLASSNAME">            GtkEventBox</tt>. The same answer applies to other            windowless widgets, such as <tt class="CLASSNAME">            GtkImage</tt>.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z850">In the GTK+ and Gnome source code, many            functions have two variants: one called <tt class=             "FUNCTION">gtk_whatever_foo()</tt>, and another called            <tt class="FUNCTION">gtk_whatever_real_foo()</tt>.            What's the difference?</a>          </h2>          <p>            <tt class="FUNCTION">gtk_whatever_foo()</tt> is            typically a public function which emits the <span            class="SYMBOL">"foo"</span> signal, taking care of any            necessary details before and after emission (remember            that only <span class="STRUCTNAME">            GTK_RUN_ACTION</span> signals can be emitted without            special actions before and after). <tt class=            "FUNCTION">gtk_whatever_real_foo()</tt> will be the            default handler for the signal, installed in the            object's class struct. <a href="cha-widget.html">the            chapter called <i>Writing a <tt class="CLASSNAME">            GtkWidget</tt></i></a> has many examples of this.          </p>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z851">How do I "gray out" a widget, so the            user can't select it?</a>          </h2>          <p>            See <a href="z57.html#SEC-SENSITIVITY">the section            called <i>Sensitivity</i> in the chapter called <i>GTK+            Basics</i></a>. Short answer:          </p>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="PROGRAMLISTING">&#13;  gtk_widget_set_sensitive(widget, FALSE);&#13;</pre>              </td>            </tr>          </table>        </div>        <div class="SECT2">          <h2 class="SECT2">            <a name="Z852">I'm connecting to <span class="SYMBOL">            "button_press_event"</span> or some other event signal,            but the callback is never invoked.</a>          </h2>          <p>            There are several possibilities:          </p>          <ul>            <li>              <p>                The widget has no <span class="STRUCTNAME">                GdkWindow</span> (i.e. the <span class=                "STRUCTNAME">GTK_NO_WINDOW</span> flag is set), so                it does not receive events (other than synthesized                expose events).&#13;              </p>            </li>            <li>              <p>                The event you're trying to monitor isn't in the                event mask for the widget's <span class=                "STRUCTNAME">GdkWindow</span>. Use <tt class=                 "FUNCTION">gtk_widget_add_events()</tt> to add more                events to the mask.&#13;              </p>            </li>            <li>              <p>                The widget is a container, and some child widget is                "handling" the event by returning <span class=                 "STRUCTNAME">TRUE</span> from the event signal                emission. Only "unhandled" events are propagated                from child to parent. &#13;              </p>            </li>          </ul>          <p>            See <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> for more            details on events and how they are passed to widgets.          </p>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品传媒在线观看| 91免费国产视频网站| 欧美一级生活片| 免费看欧美美女黄的网站| 欧美大胆人体bbbb| 国产一区二区三区在线观看免费| 久久久噜噜噜久久人人看| 成人永久看片免费视频天堂| 亚洲日本在线看| 欧美久久久久久蜜桃| 国内精品伊人久久久久av影院| 久久婷婷综合激情| 99国产欧美久久久精品| 亚洲一区日韩精品中文字幕| 日本一区二区三区久久久久久久久不 | 精品久久久久久久人人人人传媒| 久久99国产精品久久| 日本大胆欧美人术艺术动态| 日韩欧美中文一区| 成人不卡免费av| 三级在线观看一区二区| 国产欧美日本一区视频| 91久久久免费一区二区| 蜜桃久久久久久| 自拍偷拍亚洲综合| 日韩一级成人av| 91麻豆免费看片| 国内成+人亚洲+欧美+综合在线| 国产精品视频看| 欧美一区午夜视频在线观看| 成人一区二区三区在线观看| 日韩专区一卡二卡| 久久久高清一区二区三区| 风间由美中文字幕在线看视频国产欧美| 亚洲日本青草视频在线怡红院| 日韩无一区二区| 色噜噜久久综合| 国产成人精品亚洲日本在线桃色| 亚洲综合免费观看高清完整版在线 | 久久久久久久久久久久久久久99| 欧美亚洲禁片免费| 成人一区二区三区| 久久精品国产久精国产爱| 亚洲卡通动漫在线| 国产精品婷婷午夜在线观看| 欧美一区二区网站| 色综合久久88色综合天天 | 久久精品国产久精国产| 亚洲午夜久久久久| 中文字幕中文字幕一区| 久久午夜色播影院免费高清| 亚洲免费观看高清在线观看| 精品国产免费久久| 7777精品伊人久久久大香线蕉完整版| 91视视频在线观看入口直接观看www | 成人性生交大片免费看中文网站| 日日噜噜夜夜狠狠视频欧美人 | 偷拍一区二区三区| 一区二区三区丝袜| 亚洲三级免费观看| 国产精品久久久久影视| 2019国产精品| 精品入口麻豆88视频| 欧美二区三区的天堂| 欧美日韩亚洲综合在线 | 久久人人超碰精品| 91精品国产91久久综合桃花| 欧美精品日韩综合在线| 欧美人伦禁忌dvd放荡欲情| 欧美色涩在线第一页| 欧美亚洲国产bt| 精品视频1区2区3区| 欧美日韩国产区一| 欧美人体做爰大胆视频| 5858s免费视频成人| 91麻豆精品国产91久久久 | 成人三级伦理片| 福利一区福利二区| 成人高清av在线| 91视视频在线观看入口直接观看www| 国产视频一区在线播放| 欧美军同video69gay| 国内精品久久久久影院色 | 精品日韩在线一区| 久久婷婷久久一区二区三区| 久久亚洲私人国产精品va媚药| 337p粉嫩大胆噜噜噜噜噜91av| 久久亚洲欧美国产精品乐播| 欧美国产精品一区二区三区| 国产精品久久久久久久第一福利| 亚洲欧美在线视频观看| 亚洲一区二区三区不卡国产欧美| 亚洲午夜免费视频| 日本v片在线高清不卡在线观看| 美国毛片一区二区| 粉嫩av一区二区三区粉嫩| 91亚洲国产成人精品一区二三| 欧美性色黄大片手机版| 日韩美女视频一区二区在线观看| 久久精品这里都是精品| 亚洲人精品午夜| 美日韩一级片在线观看| 处破女av一区二区| 欧美少妇一区二区| 精品国产乱码久久久久久夜甘婷婷| 国产三级三级三级精品8ⅰ区| 成人午夜激情视频| 国产大片一区二区| 91看片淫黄大片一级| 欧美日韩一区高清| www国产成人免费观看视频 深夜成人网| 久久久久久久久久电影| 亚洲美女一区二区三区| 美国毛片一区二区三区| 不卡欧美aaaaa| 欧美另类z0zxhd电影| 久久久无码精品亚洲日韩按摩| 亚洲天堂中文字幕| 捆绑调教一区二区三区| 色综合久久精品| 亚洲精品在线电影| 亚洲国产视频在线| 成人黄色软件下载| 欧美大黄免费观看| 亚洲精品水蜜桃| 国产成人精品午夜视频免费| 欧美日韩黄视频| 一色屋精品亚洲香蕉网站| 久久精品国产秦先生| 欧美色涩在线第一页| 国产精品美女久久久久久久| 久久se精品一区精品二区| 91极品视觉盛宴| 国产欧美1区2区3区| 久久精品国产精品亚洲红杏| 91福利国产成人精品照片| 国产欧美日韩一区二区三区在线观看| 丝袜美腿亚洲综合| 在线日韩av片| 中文字幕一区不卡| 国产乱码精品一区二区三区av | 久久影院视频免费| 男女性色大片免费观看一区二区 | 蜜臀久久久99精品久久久久久| 成人av资源站| www亚洲一区| 久久精品国产秦先生| 在线电影欧美成精品| 亚洲国产综合色| 色婷婷久久久综合中文字幕| 国产精品视频一区二区三区不卡| 麻豆一区二区99久久久久| 777久久久精品| 午夜精品久久久久久久久久久| 一本久久a久久免费精品不卡| 国产精品视频免费| 国产成人a级片| 欧美激情一区在线| 国产999精品久久| 国产欧美日韩在线观看| 国产精品996| 国产欧美日韩中文久久| 成人午夜电影久久影院| 国产清纯白嫩初高生在线观看91| 国产精品资源网| 日本一区免费视频| av电影在线不卡| 欧美日韩中文精品| 亚洲激情一二三区| 在线免费观看视频一区| 亚洲精品成人精品456| 91福利视频久久久久| 亚洲国产精品影院| 欧美久久高跟鞋激| 九一久久久久久| 久久久久久久久久久电影| 成人一区二区三区视频在线观看| 欧美国产精品劲爆| 色妹子一区二区| 亚洲18女电影在线观看| 日韩精品专区在线影院观看| 国产一区在线视频| 国产精品欧美精品| 欧美无人高清视频在线观看| 日韩成人一级大片| 国产日产欧美一区| 91蜜桃婷婷狠狠久久综合9色| 亚洲国产精品久久人人爱蜜臀| 91麻豆精品国产91久久久久| 国产在线看一区| 亚洲免费成人av| 欧美一区二区网站| 懂色av一区二区三区蜜臀| 亚洲一线二线三线久久久| 欧美一区二区三区免费大片| 国产成人精品免费一区二区| 亚洲一区在线免费观看| 精品久久久久久无| 国产原创一区二区| 久久精品国产一区二区三区免费看|