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

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

?? sec-gdkcursor.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">gint <tt class=              "FUNCTION">gdk_pointer_grab</tt></code>(GdkWindow*              <tt class="PARAMETER"><i>window</i></tt>, gint <tt              class="PARAMETER"><i>owner_events</i></tt>,              GdkWindow* <tt class="PARAMETER"><i>              confine_to</i></tt>, GdkCursor* <tt class=              "PARAMETER"><i>cursor</i></tt>, guint32 <tt class=               "PARAMETER"><i>time</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">gdk_pointer_ungrab</tt></code>(guint32 <tt              class="PARAMETER"><i>time</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">gint <tt class=              "FUNCTION">              gdk_pointer_is_grabbed</tt></code>(void);</code>            </p>          </div>          <p>            <b>Figure 8. Grabbing the Pointer</b>          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z130">Changing the Cursor</a>        </h2>        <p>          You can change the cursor shape at any time; cursor          shapes are set on a window-by-window basis with <tt          class="FUNCTION">gdk_window_set_cursor()</tt> (<a href=           "sec-gdkcursor.html#FL-CURSOR">Figure 9</a>). By default,          windows use their parent's cursor; you can restore the          default cursor by setting a window's cursor to <span          class="STRUCTNAME">NULL</span>.        </p>        <p>          Two ways are provided to create a cursor. The simplest          way is to choose a cursor from the cursor font that comes          with X. The cursor font contains cursors instead of          characters; you can view it with the command <tt class=           "APPLICATION">xfd -fn cursor</tt>. You can also browse          the available cursors using the <tt class="APPLICATION">          testgtk</tt> program that comes with GTK+. Each cursor          shape has a constant defined in <tt class="FILENAME">          gdk/gdkcursors.h</tt>. <tt class="FUNCTION">          gdk_cursor_new()</tt> accepts one of these constants as          its only argument:        </p>        <table border="0" bgcolor="#E0E0E0" width="100%">          <tr>            <td><pre class="PROGRAMLISTING">&#13;  GdkCursor* cursor;  cursor = gdk_cursor_new(GDK_CLOCK);  gdk_window_set_cursor(window, cursor);  gdk_cursor_destroy(cursor);&#13;</pre>            </td>          </tr>        </table>        <p>          Notice that you can destroy the cursor as soon as you          attach it to a window; <span class="STRUCTNAME">          GdkCursor</span> is a client-side handle for a          server-side resource, and X will keep the server-side          resource around as long as it's in use.        </p>        <p>          If none of the cursors in the cursor font are          appropriate, you can create a custom cursor from a          bitmap. Two bitmaps, actually: the <span class=          "STRUCTNAME">source</span> pixmap, and the <span class=           "STRUCTNAME">mask</span>. Since these are bitmaps, every          pixel is either on or off (0 or 1). If a pixel is 0 in          the mask, that pixel will be transparent. If a pixel is 1          in both pixmaps, it will be displayed in the <span class=           "STRUCTNAME">fg</span> (foreground) color passed to <tt          class="FUNCTION">gdk_cursor_new_from_pixmap()</tt>. If a          pixel is 1 in the mask but 0 in the <span class=           "STRUCTNAME">source</span> pixmap, it will be displayed          in the <span class="STRUCTNAME">bg</span> (background)          color. The <span class="STRUCTNAME">source</span> and          <span class="STRUCTNAME">mask</span> pixmaps must be the          same size, and they must have a depth of one.        </p>        <p>          The foreground and background colors should be          contrasting, so the cursor will be visible against any          background. Most cursors are drawn in the foreground          color and outlined in the background color. (To see this,          move an X cursor over a dark background; you will notice          a white outline around its edges.) To achieve this, <span          class="STRUCTNAME">mask</span> should be slightly larger          than <span class="STRUCTNAME">source</span>, but the same          shape.        </p>        <p>          The final two arguments to <tt class="FUNCTION">          gdk_cursor_new_from_pixmap()</tt> are the coordinates of          the cursor's <i class="FIRSTTERM">hot spot</i>. This is          the point drawn at the mouse pointer's location---the tip          of an arrow cursor, or the center of a crosshair cursor.          <tt class="FUNCTION">gdk_cursor_new_from_pixmap()</tt>          will fail if the hot spot is not within the bitmap.        </p>        <div class="FIGURE">          <a name="FL-CURSOR"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-CURSOR.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;gdk/gdk.h&gt;</pre>                </td>              </tr>            </table>            <p>              <code><code class="FUNCDEF">GdkCursor* <tt class=               "FUNCTION">gdk_cursor_new</tt></code>(GdkCursorType              <tt class="PARAMETER"><i>              cursor_type</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">GdkCursor* <tt class=               "FUNCTION">              gdk_cursor_new_from_pixmap</tt></code>(GdkPixmap* <tt              class="PARAMETER"><i>source</i></tt>, GdkPixmap* <tt              class="PARAMETER"><i>mask</i></tt>, GdkColor* <tt              class="PARAMETER"><i>fg</i></tt>, GdkColor* <tt              class="PARAMETER"><i>bg</i></tt>, gint <tt class=               "PARAMETER"><i>x</i></tt>, gint <tt class=              "PARAMETER"><i>y</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">gdk_cursor_destroy</tt></code>(GdkCursor*              <tt class="PARAMETER"><i>cursor</i></tt>);</code>            </p>            <p>              <code><code class="FUNCDEF">void <tt class=              "FUNCTION">              gdk_window_set_cursor</tt></code>(GdkWindow* <tt              class="PARAMETER"><i>window</i></tt>, GdkCursor* <tt              class="PARAMETER"><i>cursor</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 9. <span class="STRUCTNAME">            GdkCursor</span></b>          </p>        </div>      </div>    </div>    <div class="NAVFOOTER">      <br>      <br>      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <td width="25%" bgcolor="#ffffff" align="left">            <a href="sec-gdkevent.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="sec-gdkfont.html"><font color="#0000ff" size=            "2"><b>Next &gt;&gt;&gt;</b></font></a>          </td>        </tr>        <tr>          <td colspan="2" align="left">            <font color="#000000" size="2"><b>Events</b></font>          </td>          <td colspan="2" align="right">            <font color="#000000" size="2"><b>Fonts</b></font>          </td>        </tr>      </table>    </div>  </body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕免费观看一区| 日韩av电影天堂| 久久亚洲精华国产精华液| 日韩一二三区不卡| 久久久99精品久久| 人人狠狠综合久久亚洲| 免费观看30秒视频久久| 99精品视频一区| 久久你懂得1024| 亚洲综合免费观看高清完整版| 国产女人水真多18毛片18精品视频| 国产偷v国产偷v亚洲高清| 亚洲欧洲精品一区二区三区| 国产精品久久久久9999吃药| 久久久久久久久岛国免费| 欧美mv日韩mv国产网站app| 欧美一区二区三级| 欧美剧情片在线观看| 精品1区2区在线观看| 国产亚洲成年网址在线观看| 国产精品免费视频一区| 一区二区三区四区蜜桃 | 欧美日韩一区二区在线视频| 在线成人小视频| 精品国产乱码久久久久久老虎| 日韩久久精品一区| 国产精品短视频| 美女精品一区二区| 在线观看亚洲a| 国产亚洲精品资源在线26u| 亚洲一区在线观看网站| 国产成都精品91一区二区三| 91色视频在线| 国产精品丝袜一区| 久久99国产精品免费网站| 欧美日韩国产在线观看| 亚洲欧美偷拍卡通变态| 午夜视频一区在线观看| proumb性欧美在线观看| 精品毛片乱码1区2区3区| 亚洲国产成人精品视频| 国产91在线观看丝袜| 久久亚洲综合色| 久久丁香综合五月国产三级网站| 成人午夜av电影| 欧美国产精品劲爆| 国产·精品毛片| 国产精品福利一区| 99国产麻豆精品| 国产精品网站导航| 国产综合色产在线精品 | 欧美日韩国产欧美日美国产精品| 国产精品美女www爽爽爽| 成人网在线播放| 日韩一二三区视频| 日韩av一二三| 欧美电影免费观看高清完整版在线观看| 99精品久久久久久| 欧美一级艳片视频免费观看| 日本一区二区三区久久久久久久久不 | 激情伊人五月天久久综合| 激情综合五月天| 99re6这里只有精品视频在线观看| 欧美日韩免费高清一区色橹橹| 91在线你懂得| 国产精品麻豆久久久| 亚洲色图色小说| 香蕉成人伊视频在线观看| 成人在线视频一区| 久久久不卡网国产精品二区| 日韩av一区二区三区四区| 日韩欧美中文字幕制服| 精品制服美女久久| 久久久久久亚洲综合| 在线免费视频一区二区| 麻豆91精品视频| 欧美日韩精品三区| 久久国产精品99久久人人澡| 伊人婷婷欧美激情| 久久亚洲一区二区三区四区| 欧美卡1卡2卡| 成人午夜碰碰视频| 蜜臀av亚洲一区中文字幕| 亚洲影院理伦片| 国产欧美精品一区二区色综合| 欧美日韩精品一区二区三区四区 | 国产欧美视频一区二区三区| 日本韩国一区二区三区视频| 麻豆精品国产传媒mv男同| 亚洲欧美国产77777| 亚洲天堂免费看| 亚洲欧洲av另类| 中文字幕免费观看一区| 777午夜精品视频在线播放| 日本黄色一区二区| 欧美视频一区二区在线观看| 色欧美日韩亚洲| 91亚洲男人天堂| 欧美午夜片在线观看| 色婷婷av久久久久久久| 91尤物视频在线观看| 91色在线porny| 制服.丝袜.亚洲.中文.综合| 欧美一区二区三区人| 欧美日韩一区高清| 精品国产a毛片| 亚洲国产成人午夜在线一区| 中文字幕一区二区三区精华液| 亚洲欧美电影一区二区| 日日噜噜夜夜狠狠视频欧美人| 亚洲午夜激情av| 国产真实乱子伦精品视频| 97精品超碰一区二区三区| 91成人免费网站| 久久蜜桃一区二区| 一区二区三区欧美日| 韩国中文字幕2020精品| 色综合婷婷久久| 久久精品夜色噜噜亚洲aⅴ| 亚洲永久免费av| 成人精品一区二区三区四区| 在线视频亚洲一区| 精品粉嫩超白一线天av| 亚洲乱码国产乱码精品精的特点| 久久精品久久99精品久久| 99国产精品99久久久久久| 欧美精品一区二| 日本在线不卡视频一二三区| 日本韩国一区二区| 亚洲欧洲在线观看av| 国产又黄又大久久| 精品国产91洋老外米糕| 麻豆国产精品官网| 欧美精品在线观看播放| 五月天丁香久久| 欧美日韩午夜在线| 夜夜精品浪潮av一区二区三区| 成人av资源网站| 自拍偷拍欧美精品| 91在线精品一区二区| 久久蜜桃av一区精品变态类天堂 | 亚洲午夜久久久久| 成人网在线播放| 中文字幕av一区 二区| 国产揄拍国内精品对白| 久久日一线二线三线suv| 国产乱码精品一区二区三区五月婷| 91高清视频在线| 亚洲成a人片在线不卡一二三区| 欧美亚洲国产bt| 欧美性猛交xxxx乱大交退制版| 亚洲欧美激情插| 欧美日韩1区2区| 国内成人精品2018免费看| 91一区二区在线观看| 欧美久久一二三四区| 久久精品av麻豆的观看方式| 精品日韩一区二区三区| 国产一区999| 亚洲美女视频一区| 日韩欧美视频一区| 91同城在线观看| 国产精品一线二线三线精华| 亚洲精品老司机| 日韩午夜精品视频| 久久精品国产久精国产| 国产日产欧美一区二区视频| 欧美精品v日韩精品v韩国精品v| 青青草成人在线观看| 国产精品乱人伦| 精品动漫一区二区三区在线观看| 91美女福利视频| 成人理论电影网| 韩国女主播成人在线| 日本不卡在线视频| 亚洲精品免费在线| 1024成人网| 国产午夜精品一区二区| 精品国产凹凸成av人导航| 99视频一区二区| 国产91丝袜在线播放九色| 五月天网站亚洲| 国产精品一区二区久激情瑜伽| 国产精品一区二区视频| 国v精品久久久网| 91影视在线播放| 欧美一区二区三区男人的天堂| 日本一区二区三区dvd视频在线| 精品国产sm最大网站免费看| 国产精品高潮久久久久无| 国产精品免费看片| 污片在线观看一区二区| 国产一区二区不卡在线| 色综合视频在线观看| 欧美日韩午夜在线| 国产精品免费视频观看| 午夜私人影院久久久久| 成人在线综合网| 欧美丰满少妇xxxbbb| 最近日韩中文字幕|