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

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

?? z177.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 3 頁
字號(hào):
          "FUNCTION">gnome_canvas_item_new()</tt> creates a new          instance of the type with <tt class="FUNCTION">          gtk_type_new()</tt>, adds the item to its <span class=           "STRUCTNAME">GnomeCanvasGroup</span>, and schedules it to          be redrawn.        </p>        <p>          To destroy an item and remove it from the canvas, simply          call <tt class="FUNCTION">gtk_object_destroy()</tt>. You          can also use the standard reference counting mechanism          with canvas items.        </p>        <p>          You can set an item's affine using <tt class="FUNCTION">          gnome_canvas_item_affine_absolute()</tt>, or compose a          new affine with the item's existing affine using <tt          class="FUNCTION">          gnome_canvas_item_affine_relative()</tt>. These functions          can be used to translate, scale, or rotate a canvas item          (however, scaling and rotation only work in antialiased          mode).        </p>        <p>          Items in a group are normally stacked in the order you          add them, with the most recently-added item "on top" and          the oldest item on the bottom. You can manipulate the          stacking order with <tt class="FUNCTION">          gnome_canvas_item_raise()</tt> and <tt class="FUNCTION">          gnome_canvas_item_lower()</tt>. These move an item up or          down by the given number of positions. It is safe to pass          in a too-large value for <span class="STRUCTNAME">          positions</span>; the item will be moved as far as          possible and no more. You can also request that an item          is moved to one extreme or the other, using <tt class=           "FUNCTION">gnome_canvas_item_raise_to_top()</tt> and <tt          class="FUNCTION">gnome_canvas_item_lower_to_bottom</tt>.        </p>        <p>          Items can be shown and hidden; hidden items are not          rendered by the canvas and do not receive events. All          items are visible by default. The routines are <tt class=           "FUNCTION">gnome_canvas_item_show()</tt> and <tt class=           "FUNCTION">gnome_canvas_item_hide()</tt>.        </p>        <p>          Reparenting a canvas item is straightforward; the only          rule is that the new group must be on the same canvas as          the old group.        </p>        <p>          <tt class="FUNCTION">gnome_canvas_item_grab_focus()</tt>          is analagous to <tt class="FUNCTION">          gtk_widget_grab_focus()</tt>; it sends all key events to          the item with the grab. It also sends focus change events          to the item (when the item gains or loses the focus).        </p>        <p>          Canvas items can grab and ungrab the mouse pointer just          as a <span class="STRUCTNAME">GdkWindow</span> can; the          arguments to <tt class="FUNCTION">          gnome_canvas_item_grab()</tt> are exactly analagous to          those of <tt class="FUNCTION">gdk_pointer_grab()</tt>          (see <a href="cha-gdk.html">the chapter called <i>GDK          Basics</i></a>). While a canvas item has the pointer          grabbed, no other item receives events. Behind the          scenes, <tt class="CLASSNAME">GnomeCanvas</tt> uses <tt          class="FUNCTION">gdk_pointer_grab()</tt> to implement <tt          class="FUNCTION">gnome_canvas_item_grab()</tt>, so an          item grabbing the mouse away from other items implies the          canvas grabbing the mouse away from other widgets.        </p>        <p>          The visual properties of canvas items are manipulated          almost entirely via object arguments. If you skipped <a          href="cha-objects.html">the chapter called <i>The GTK+          Object and Type System</i></a>, go back and read the          section on object arguments now. Two functions are used          to set canvas item properties: <tt class="FUNCTION">          gnome_canvas_item_set()</tt> and <tt class="FUNCTION">          gnome_canvas_item_setv()</tt>. These are almost but not          quite equivalent to <tt class="FUNCTION">          gtk_object_set()</tt> and <tt class="FUNCTION">          gtk_object_setv()</tt>---they set object arguments in the          same way, but they also mark the canvas item to be          redrawn. So you should prefer them to the <span class=           "STRUCTNAME">GtkObject</span> variants. (This is          something of a design bug, and future canvas versions          will most likely allow you to use <tt class="FUNCTION">          gtk_object_set()</tt>.)        </p>        <p>          <tt class="FUNCTION">          gnome_canvas_item_request_update()</tt> marks the canvas          item as "dirty" and queues it to be redrawn. Internally,          the canvas uses a one-shot idle function to perform          redraws; that is, it waits until no more GTK+ events are          pending, then redraws itself a single time. It does this          by installing an idle function with <tt class="FUNCTION">          gtk_idle_add()</tt> and removing it after it runs once.          Thus <tt class="FUNCTION">          gnome_canvas_item_request_update()</tt> can be called          many times without creating an efficiency problem---it          pretty much does nothing at all if an update is already          pending.        </p>        <div class="FIGURE">          <a name="FL-CANVASITEMS"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-CANVASITEMS.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">       #include &lt;libgnomeui/gnome-canvas.h&gt;      </pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">GnomeCanvasItem* <tt              class="FUNCTION">              gnome_canvas_item_new</tt></code>(GnomeCanvasGroup*              <tt class="PARAMETER"><i>parent</i></tt>, GtkType <tt              class="PARAMETER"><i>type</i></tt>, const gchar* <tt              class="PARAMETER"><i>first_arg_name</i></tt>, <tt              class="PARAMETER"><i>...</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">GnomeCanvasItem* <tt              class="FUNCTION">              gnome_canvas_item_newv</tt></code>(GnomeCanvasGroup*              <tt class="PARAMETER"><i>parent</i></tt>, GtkType <tt              class="PARAMETER"><i>type</i></tt>, guint <tt class=               "PARAMETER"><i>nargs</i></tt>, GtkArg* <tt class=               "PARAMETER"><i>args</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_set</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, const gchar*              <tt class="PARAMETER"><i>first_arg_name</i></tt>, <tt              class="PARAMETER"><i>...</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_setv</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, guint <tt              class="PARAMETER"><i>nargs</i></tt>, GtkArg* <tt              class="PARAMETER"><i>args</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_affine_relative</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, const double              <tt class="PARAMETER"><i>affine[6]</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_affine_absolute</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, const double              <tt class="PARAMETER"><i>affine[6]</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_raise</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, int <tt              class="PARAMETER"><i>positions</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_lower</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, int <tt              class="PARAMETER"><i>positions</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_raise_to_top</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_lower_to_bottom</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_show</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_hide</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_reparent</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>,              GnomeCanvasGroup* <tt class="PARAMETER"><i>              new_group</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_grab_focus</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">int <tt class="FUNCTION">              gnome_canvas_item_grab</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, unsigned int              <tt class="PARAMETER"><i>event_mask</i></tt>,              GdkCursor* <tt class="PARAMETER"><i>cursor</i></tt>,              guint32 <tt class="PARAMETER"><i>              etime</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_ungrab</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, guint32 <tt              class="PARAMETER"><i>etime</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_get_bounds</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>, double* <tt              class="PARAMETER"><i>x1</i></tt>, double* <tt class=               "PARAMETER"><i>y1</i></tt>, double* <tt class=               "PARAMETER"><i>x2</i></tt>, double* <tt class=               "PARAMETER"><i>y2</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gnome_canvas_item_request_update</tt></code>(GnomeCanvasItem*              <tt class="PARAMETER"><i>item</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 8. Using <span class="STRUCTNAME">            GnomeCanvasItem</span></b>          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z181">Canvas Items and Events</a>        </h2>        <p>          The standard Gnome canvas items have only one signal,          <span class="SYMBOL">"event"</span>, which is emitted for          <i class="EMPHASIS">all</i> types of event. The canvas          widget preprocesses all GDK events that it receives, and          forwards some of them to canvas items. It also sythesizes          certain events. Remember that X sends events only to X          windows (<span class="STRUCTNAME">GdkWindow</span>s), and          canvas items do not have an associated <span class=           "STRUCTNAME">GdkWindow</span>. Thus the canvas widget          must act as intermediary. Here are some of the actions it          takes:        </p>        <ul>          <li>            <p>              Coordinates are automatically converted to canvas              world coordinates. For example, if a canvas item              receives an event of type <span class="STRUCTNAME">              GDK_BUTTON_PRESS</span>, the <span class=              "STRUCTNAME">x</span> and <span class="STRUCTNAME">              y</span> fields of the event will be in world              coordinates. (The raw event was received on the              canvas's <span class="STRUCTNAME">GdkWindow</span>              and thus had window coordinates.)            </p>          </li>          <li>            <p>              Enter/leave events are synthesized for canvas items              as the mouse pointer moves across the canvas.            </p>          </li>          <li>            <p>              Events are propagated up the canvas item hierarchy,              until some item's <span class="SYMBOL">"event"</span>              signal handler returns <span class="STRUCTNAME">              TRUE</span>. This works just as it does with <tt              class="CLASSNAME">GtkWidget</tt>; events are first              sent to the bottommost or leaf canvas item, and              eventually make it up to the root item.            </p>          </li>          <li>            <p>              Only user-generated events are sent to canvas items;              many events you might expect to receive on a <span              class="STRUCTNAME">GdkWindow</span>, such as expose              and configure events, are not forwarded to canvas              items.            </p>          </li>        </ul>        <p>          The canvas does this work behind the scenes, so item          events work intuitively and much like normal GDK events.        </p>        <p>          A canvas item event callback looks like this:        </p>        <table border="0" bgcolor="#E0E0E0" width="100%">          <tr>            <td><pre class="PROGRAMLISTING">&#13;static gintitem_event_callback(GnomeCanvasItem* item,                     GdkEvent* event,                     gpointer data){  switch (event-&gt;type) {    case GDK_BUTTON_PRESS:      break;    case GDK_MOTION_NOTIFY:      break;    case GDK_BUTTON_RELEASE:      break;    default:      break;  }  /* Returning FALSE propagates the event to parent items;   * returning TRUE ends event propagation.    */  return FALSE;}      </pre>            </td>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文av一区特黄| 久久久久久9999| 337p亚洲精品色噜噜噜| 91精品黄色片免费大全| 精品久久一区二区三区| 欧美国产日韩a欧美在线观看| 国产蜜臀97一区二区三区| **网站欧美大片在线观看| 一区二区三区在线高清| 最好看的中文字幕久久| 亚洲国产日韩一区二区| 蜜桃av一区二区在线观看| 国产成人一区在线| 欧洲在线/亚洲| 久久欧美一区二区| 亚洲一区二区免费视频| 国产精品亚洲第一| 欧美日韩在线精品一区二区三区激情| 日韩一二三区视频| 亚洲视频一区在线| 国产一区二区主播在线| 欧洲一区二区三区在线| 欧美国产精品v| 美女mm1313爽爽久久久蜜臀| 在线亚洲免费视频| 欧美激情一区三区| 九九热在线视频观看这里只有精品| 99久久综合精品| 久久久九九九九| 首页综合国产亚洲丝袜| 91福利在线免费观看| 亚洲国产高清aⅴ视频| 另类小说图片综合网| 欧美日韩国产小视频| 一区二区三区四区视频精品免费| 国产不卡视频在线观看| 精品美女被调教视频大全网站| 亚洲国产成人av网| 欧美中文字幕一区二区三区亚洲| 欧美国产日韩在线观看| 国产精品一二三四五| 久久日韩精品一区二区五区| 久久99热这里只有精品| 久久先锋影音av| 国内久久精品视频| 久久婷婷一区二区三区| 国产精品99久久久久久久vr | 日韩小视频在线观看专区| 亚洲天堂福利av| 91精品福利在线| 五月天一区二区| 精品国产凹凸成av人网站| 国产精品夜夜嗨| 日韩一区在线看| 欧美日韩国产一区| 精品一区精品二区高清| 国产日产精品一区| 99在线热播精品免费| 亚洲狠狠丁香婷婷综合久久久| 欧洲一区二区av| 久久av资源网| 亚洲最大成人综合| 日韩欧美一级二级三级| 91在线观看视频| 蜜桃久久久久久久| 亚洲欧美日韩一区| 日韩午夜电影av| 91国产免费观看| 国产精品亚洲人在线观看| 午夜精品一区二区三区电影天堂| 日韩欧美一区在线观看| 97久久精品人人做人人爽50路| 日韩精品视频网| 一区二区三区四区高清精品免费观看| 91精品国产色综合久久ai换脸| 成人动漫视频在线| 男女男精品视频网| 亚洲视频电影在线| 久久美女艺术照精彩视频福利播放 | jizz一区二区| 免费看精品久久片| 一区二区国产视频| 日本一区二区三区dvd视频在线| 欧美日韩精品是欧美日韩精品| 福利一区二区在线观看| 久久av中文字幕片| 免费在线一区观看| 日韩激情一区二区| 玉米视频成人免费看| 亚洲三级电影网站| 国产精品久久网站| 国产欧美一区二区三区在线老狼| 欧美一区二区三区公司| 欧美日韩一卡二卡| 欧美午夜电影网| 欧美猛男gaygay网站| 欧美性xxxxxxxx| 色欧美片视频在线观看| 一本久久精品一区二区| 色婷婷综合久久久久中文一区二区 | aa级大片欧美| 99re这里都是精品| 在线免费精品视频| 欧美日韩国产一级| 日韩欧美在线影院| 国产精品日韩精品欧美在线| 日本一二三不卡| 亚洲视频网在线直播| 亚洲一区二区av在线| 日韩成人精品在线观看| 男人的天堂亚洲一区| 国产精品亚洲一区二区三区妖精| 成人av影视在线观看| 欧美在线一二三| 欧美tickling网站挠脚心| 久久久精品蜜桃| 亚洲激情在线激情| 久久精品国产色蜜蜜麻豆| 国产成人精品免费网站| 欧美日韩一区国产| 国产欧美一区二区三区在线看蜜臀| 亚洲视频在线一区| 精品一区在线看| 色视频一区二区| 久久久欧美精品sm网站| 亚洲免费av高清| 国产一区二区三区四区在线观看| 色婷婷av一区二区三区gif | 久久综合九色综合欧美亚洲| 一色屋精品亚洲香蕉网站| 蜜桃av噜噜一区二区三区小说| 成人免费av资源| 精品成人一区二区三区四区| 一区二区三区四区激情| 国产91精品入口| 精品国内片67194| 人禽交欧美网站| 欧美综合色免费| 亚洲欧美日韩系列| 福利电影一区二区三区| 久久久精品欧美丰满| 久久精品99久久久| 欧美一区日本一区韩国一区| 亚洲精品日韩综合观看成人91| 国产一区二区三区在线观看免费视频 | 在线欧美一区二区| 亚洲欧美日韩系列| 色综合久久久久| 亚洲人成伊人成综合网小说| 99精品黄色片免费大全| 亚洲日本乱码在线观看| av中文一区二区三区| 日本一区二区久久| 成人高清视频在线| 日韩一区有码在线| 91国产成人在线| 日韩专区在线视频| 精品美女在线播放| 国产精品 日产精品 欧美精品| 国产清纯美女被跳蛋高潮一区二区久久w | 欧美二区乱c少妇| 久久不见久久见免费视频7| 精品国产乱码久久久久久闺蜜| 国产一区二区三区蝌蚪| 国产午夜精品理论片a级大结局| 大白屁股一区二区视频| 日韩一区欧美一区| 91精品久久久久久久99蜜桃| 国内精品国产三级国产a久久| 国产精品三级av在线播放| 99在线精品观看| 免费高清在线视频一区·| 国产夜色精品一区二区av| 91麻豆国产精品久久| 免费一级片91| 国产精品国产精品国产专区不片| 在线看不卡av| 国产成人av一区| 亚洲va欧美va人人爽午夜 | 视频一区视频二区中文| 国产精品区一区二区三| 欧美精品日日鲁夜夜添| 懂色av中文字幕一区二区三区| 亚洲国产精品久久久久婷婷884| 久久亚洲二区三区| 欧美色偷偷大香| 99久久久免费精品国产一区二区| 日韩**一区毛片| 亚洲人一二三区| 久久久久久久久一| 日韩视频一区二区| 欧洲亚洲精品在线| 91天堂素人约啪| jlzzjlzz欧美大全| 国产成人av电影在线观看| 奇米一区二区三区av| 亚洲一区二区精品3399| 亚洲欧美综合色| 国产精品传媒视频| 日本一区二区三区四区|