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

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

?? faqs.html

?? GTK+_ Gnome Application Development
?? 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一区二区三区免费野_久草精品视频
久久精品国产秦先生| 国产福利精品一区二区| 久久久www免费人成精品| 欧美中文字幕一区二区三区| 久久国产尿小便嘘嘘| 亚洲欧美日韩中文播放 | 日韩免费视频一区| 91无套直看片红桃| 国内国产精品久久| 亚洲第一av色| 亚洲色图欧美偷拍| 国产日韩精品视频一区| 欧美一区二区三区四区高清| 99视频精品全部免费在线| 国产综合久久久久久鬼色| 日韩精品一级二级| 亚洲免费观看视频| 久久久精品2019中文字幕之3| 欧美精品tushy高清| 色婷婷av一区二区三区之一色屋| 国产盗摄视频一区二区三区| 日本在线不卡一区| 一区二区在线观看免费 | 国产精品国产三级国产aⅴ原创 | 亚洲欧美激情小说另类| 国产精品久久看| 国产日韩欧美综合在线| 日韩欧美电影一二三| 51精品秘密在线观看| 欧美色大人视频| 在线免费观看视频一区| 99久久精品情趣| 成人免费福利片| 丁香婷婷综合激情五月色| 九色porny丨国产精品| 青青草一区二区三区| 日韩专区一卡二卡| 丝袜诱惑亚洲看片| 日韩国产欧美在线播放| 图片区小说区区亚洲影院| 一区二区成人在线| 一区二区在线观看不卡| 一区二区三区在线视频播放| 有坂深雪av一区二区精品| 亚洲综合偷拍欧美一区色| 一区二区三区四区不卡在线| 亚洲美女免费视频| 亚洲一区二区精品视频| 三级久久三级久久| 六月婷婷色综合| 国产一区视频在线看| 国产夫妻精品视频| 不卡视频在线看| 色哦色哦哦色天天综合| 欧美日本免费一区二区三区| 9191国产精品| 精品国产免费久久| 亚洲国产精华液网站w| 亚洲麻豆国产自偷在线| 亚洲网友自拍偷拍| 蜜臀av一区二区在线免费观看| 免费成人深夜小野草| 激情综合色丁香一区二区| 国产九色精品成人porny| 成人午夜精品一区二区三区| 91麻豆高清视频| 欧美日本在线视频| 26uuu色噜噜精品一区二区| 久久精品水蜜桃av综合天堂| 亚洲欧美偷拍另类a∨色屁股| 性做久久久久久| 国内欧美视频一区二区| 99久久免费视频.com| 欧美日韩在线播放三区四区| 欧美va在线播放| 中文字幕亚洲综合久久菠萝蜜| 夜夜嗨av一区二区三区四季av| 蜜臀久久久99精品久久久久久| 成人午夜视频免费看| 欧美日韩国产一级二级| 精品福利一区二区三区| 亚洲女人小视频在线观看| 另类综合日韩欧美亚洲| 91美女片黄在线观看91美女| 日韩一区二区精品葵司在线| 国产精品久久久久一区二区三区共| 亚洲午夜精品在线| 国产成人精品aa毛片| 欧美日韩亚洲综合一区二区三区| 久久久久久久久久久久久女国产乱 | 国产性天天综合网| 一区二区久久久久久| 国产一区二区三区美女| 欧美日韩一区二区三区视频 | 亚洲一区二区中文在线| 国产一区二三区好的| 在线观看不卡一区| 久久久精品欧美丰满| 丝袜美腿一区二区三区| 91美女在线观看| 日本一区二区在线不卡| 麻豆成人免费电影| 欧美中文字幕一区| 国产精品久久久久久久久晋中| 麻豆国产精品视频| 欧美日韩你懂的| 亚洲精品视频观看| 成人免费看黄yyy456| 欧美精品一区二区三区久久久| 亚洲午夜私人影院| 91美女片黄在线| 国产精品精品国产色婷婷| 精品亚洲成a人在线观看| 欧美日韩日日夜夜| 一区二区三区高清在线| 成人aaaa免费全部观看| 精品88久久久久88久久久| 亚洲 欧美综合在线网络| 97国产一区二区| 久久久国产精品麻豆| 久久精品国产亚洲5555| 欧美一区永久视频免费观看| 一区二区激情视频| 色欧美88888久久久久久影院| 国产精品久久久久一区| 高清国产一区二区| 久久久亚洲精华液精华液精华液| 麻豆精品新av中文字幕| 91精品国产色综合久久ai换脸| 亚洲已满18点击进入久久| 91天堂素人约啪| 中文字幕人成不卡一区| 不卡电影一区二区三区| 国产精品乱人伦| 成人免费毛片嘿嘿连载视频| 国产欧美精品日韩区二区麻豆天美| 久久精品国产**网站演员| 欧美电视剧在线看免费| 免费观看30秒视频久久| 日韩精品综合一本久道在线视频| 琪琪久久久久日韩精品| 日韩视频在线一区二区| 黄一区二区三区| 久久久久久久久99精品| 成人网男人的天堂| 国产精品护士白丝一区av| 99re成人在线| 亚洲一区二区精品3399| 6080午夜不卡| 韩国理伦片一区二区三区在线播放 | 成人爽a毛片一区二区免费| 亚洲国产精品ⅴa在线观看| 99re在线视频这里只有精品| 亚洲欧美色一区| 欧美日韩不卡一区二区| 久久精品免费看| 国产清纯在线一区二区www| 成人动漫中文字幕| 亚洲精品国产品国语在线app| 欧美亚洲高清一区| 日本不卡视频在线| 国产亚洲精品超碰| 91社区在线播放| 亚洲成av人片一区二区梦乃| 日韩你懂的电影在线观看| 成人中文字幕合集| 一区二区三国产精华液| 日韩一区二区三区免费观看| 国产精品一区二区三区乱码| 最新不卡av在线| 欧美丰满嫩嫩电影| 高清不卡一区二区| 亚洲综合一区在线| 日韩欧美电影在线| 99热这里都是精品| 日韩电影在线观看一区| www成人在线观看| 91麻豆自制传媒国产之光| 日韩精品视频网| 亚洲国产精品ⅴa在线观看| 精品视频色一区| 高清在线观看日韩| 日韩中文字幕亚洲一区二区va在线| 国产三级欧美三级日产三级99 | 国产一区二区三区国产| 亚洲毛片av在线| 日韩欧美资源站| 色哟哟一区二区在线观看| 美女一区二区视频| 亚洲色图视频网| 日韩精品专区在线影院观看| 一道本成人在线| 国产自产v一区二区三区c| 一区二区三区日韩在线观看| 2欧美一区二区三区在线观看视频| 在线观看亚洲成人| 国产91对白在线观看九色| 奇米影视一区二区三区| 亚洲欧美国产毛片在线| 久久精品人人做|