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

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

?? sec-gdkcursor.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>  <head>    <title>      The Mouse Pointer    </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="GDK Basics" href="cha-gdk.html">    <link rel="PREVIOUS" title="Events" href="sec-gdkevent.html">    <link rel="NEXT" title="Fonts" href="sec-gdkfont.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="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>      </table>    </div>    <div class="SECT1">      <h1 class="SECT1">        <a name="SEC-GDKCURSOR">The Mouse Pointer</a>      </h1>      <p>        The mouse pointer is represented on the screen by a small        bitmap called the <i class="FIRSTTERM">cursor</i>. The        cursor is normally an arrow shape, but it can be changed on        a window-by-window basis. As the pointer moves, it        generates motion events and moves the cursor on the screen        to give the user feedback.      </p>      <div class="SECT2">        <h2 class="SECT2">          <a name="Z129">Pointer Location</a>        </h2>        <p>          You can query the pointer's location with <tt class=           "FUNCTION">gdk_window_get_pointer()</tt> (<a href=           "sec-gdkcursor.html#FL-GETPOINTER">Figure 7</a>). This          function requests the X and Y coordinates of the pointer          relative to the window passed as its first argument. It          also requests the currently active modifiers (including          modifier keys and buttons; this field is identical to the          <span class="STRUCTNAME">state</span> field in several          events, such as button events). If <span class=          "STRUCTNAME">NULL</span> is passed for the <span class=           "STRUCTNAME">x</span>, <span class="STRUCTNAME">y</span>,          or <span class="STRUCTNAME">state</span> arguments, that          argument will be ignored.        </p>        <div class="FIGURE">          <a name="FL-GETPOINTER"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-GETPOINTER.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">GdkWindow* <tt class=               "FUNCTION">              gdk_window_get_pointer</tt></code>(GdkWindow* <tt              class="PARAMETER"><i>window</i></tt>, gint* <tt              class="PARAMETER"><i>x</i></tt>, gint* <tt class=               "PARAMETER"><i>y</i></tt>, GdkModifierMask* <tt              class="PARAMETER"><i>state</i></tt>);</code>            </p>          </div>          <p>            <b>Figure 7. Querying Pointer Location</b>          </p>        </div>      </div>      <div class="SECT2">        <h2 class="SECT2">          <a name="SEC-POINTERGRAB">Grabbing the Pointer</a>        </h2>        <p>          It is possible to <i class="FIRSTTERM">grab</i> the          pointer, which means that all pointer events will go to          the <i class="FIRSTTERM">grab window</i> for the duration          of the grab. Normally pointer events go to the window the          pointer is inside. You should grab the pointer, for          example, if the user is using click-and-drag selection to          select a rectangular area. If they click and then          inadvertently drag the pointer outside the window, you          should continue to track the pointer's location and          change the selection accordingly. The grab also ensures          that pointer events won't be sent to other applications.        </p>        <p>          To grab the pointer, call <tt class="FUNCTION">          gdk_pointer_grab()</tt>, shown in <a href=           "sec-gdkcursor.html#FL-GRABBING">Figure 8</a>. The first          argument to this function is the grab window; this window          will receive events during the grab. The next argument          should be <span class="STRUCTNAME">TRUE</span> or <span          class="STRUCTNAME">FALSE</span>; it specifies whether          events will go only to the grab window, or to its child          windows as well. The <span class="STRUCTNAME">          confine_to</span> argument specifies a window to confine          the pointer to. The user will not be able to move the          pointer outside this window. You can specify a different          <span class="STRUCTNAME">cursor</span> for the duration          of the grab; see the next section for details on creating          a cursor. If you don't want to change the cursor, give          <span class="STRUCTNAME">NULL</span> as the <span class=           "STRUCTNAME">cursor</span> argument. (Side note: it is          safe to destroy the cursor immediately after calling <tt          class="FUNCTION">gdk_pointer_grab()</tt> because it is a          server-side resource and X will not deallocate it until          the grab is over.)        </p>        <p>          The final argument, <span class="STRUCTNAME">time</span>,          specifies when the grab should take effect, in server          time. This is intended to resolve conflicts if two          clients try to grab the pointer simultaneously; the time          must be after the last grab time, and it must not be in          the future. Usually, you will want to use the <span          class="STRUCTNAME">time</span> field from the event          you're processing, or the <tt class="FUNCTION">          GDK_CURRENT_TIME</tt> macro. <tt class="FUNCTION">          GDK_CURRENT_TIME</tt> is a magic constant that tells the          X server to substitute the current time.        </p>        <p>          <tt class="FUNCTION">gdk_pointer_grab()</tt> returns          <span class="STRUCTNAME">TRUE</span> if it succeeds. It          is possible for it to fail if the grab window or <span          class="STRUCTNAME">confine_to</span> window is hidden,          another client has the grab already, or any of the          arguments are invalid. Regrettably few applications check          this return value, which is a bug (granted, a          difficult-to-trigger one).        </p>        <p>          To ungrab the pointer, call <tt class="FUNCTION">          gdk_pointer_ungrab()</tt>; the <span class="STRUCTNAME">          time</span> argument is identical to the one in <tt          class="FUNCTION">gdk_pointer_grab()</tt>. You can find          out if the pointer is grabbed using <tt class="FUNCTION">          gdk_pointer_is_grabbed()</tt>. You <i class="EMPHASIS">          must</i> ungrab the pointer when you're finished with it,          because the user will be unable to use other applications          while the pointer is grabbed.        </p>        <p>          Note that the GDK-level concept of grabbing the pointer          is distinct from the GTK+-level grab concept. A GTK+ grab          redirects certain events to a grabbing <i class=          "EMPHASIS">widget</i>, creating a "modal" widget such as          a dialog (see <a href="z57.html#SEC-GRABS">the section          called <i>Grabs</i> in the chapter called <i>GTK+          Basics</i></a>). GTK+'s grab only affects the current          application; only events that occur on one of the current          application's widgets are redirected. The scope of a GDK          grab is wider, encompassing the entire X server, not just          your application.        </p>        <div class="FIGURE">          <a name="FL-GRABBING"></a>          <div class="FUNCSYNOPSIS">            <a name="FL-GRABBING.SYNOPSIS"></a>            <table border="0" bgcolor="#E0E0E0" width="100%">              <tr>                <td><pre class="FUNCSYNOPSISINFO">#include &lt;gdk/gdk.h&gt;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久99久久精品国产片果冻| 亚洲精选在线视频| 欧美日韩精品一区二区三区 | www日韩大片| 在线观看精品一区| 色狠狠综合天天综合综合| 99国产精品久久久久久久久久 | 欧美亚洲国产一区在线观看网站| 99视频有精品| 91丨九色丨黑人外教| 91丨porny丨户外露出| 一本大道av伊人久久综合| 欧美伊人久久大香线蕉综合69| 在线观看日韩国产| 91精品国产色综合久久不卡电影 | 久久嫩草精品久久久精品一| 久久久久99精品一区| 国产精品黄色在线观看| 亚洲三级久久久| 亚洲va欧美va天堂v国产综合| 青青草国产精品97视觉盛宴| 极品销魂美女一区二区三区| 成人高清免费观看| 欧美性一二三区| 久久亚洲二区三区| 中文字幕中文字幕一区| 亚洲成av人**亚洲成av**| 久久精品久久99精品久久| 粉嫩一区二区三区在线看| 91行情网站电视在线观看高清版| 欧美一区永久视频免费观看| 国产亚洲视频系列| 亚洲aaa精品| 国产成人免费在线| 欧美日韩免费一区二区三区| 国产肉丝袜一区二区| 亚洲综合清纯丝袜自拍| 国产乱妇无码大片在线观看| 在线视频你懂得一区| 久久综合九色综合欧美就去吻| 亚洲精品亚洲人成人网在线播放| 视频一区欧美日韩| 成人一区在线观看| 欧美精选一区二区| 最新日韩av在线| 九九国产精品视频| 欧美午夜电影一区| 一色桃子久久精品亚洲| 久久精品免费看| 精品视频资源站| 亚洲视频小说图片| 国模娜娜一区二区三区| 欧美一区二区三区在| 亚洲精品久久7777| 成人av在线电影| 欧美大白屁股肥臀xxxxxx| 亚洲国产日韩综合久久精品| 91亚洲精品久久久蜜桃网站| 国产三级三级三级精品8ⅰ区| 热久久免费视频| 欧美精品v国产精品v日韩精品| 亚洲色大成网站www久久九九| 国产69精品一区二区亚洲孕妇| 欧美xfplay| 久久精品国产99久久6| 91精品国产91综合久久蜜臀| 午夜免费久久看| 欧美日韩综合不卡| 午夜精品一区二区三区电影天堂| 色素色在线综合| 亚洲免费在线观看| 91福利视频在线| 亚洲国产视频在线| 69p69国产精品| 免费高清在线一区| 亚洲精品一区二区三区影院| 久久成人av少妇免费| 精品成人一区二区三区| 久久99国产精品免费网站| 欧美sm极限捆绑bd| 九一久久久久久| 久久青草国产手机看片福利盒子 | 久久色成人在线| 国产精品一二三区| 日本一区二区三区四区在线视频 | 国产精品丝袜一区| 99久久er热在这里只有精品15| 日本一区二区免费在线观看视频| 成人免费观看男女羞羞视频| 国产欧美综合在线观看第十页| 波多野结衣在线一区| 亚洲人午夜精品天堂一二香蕉| 色综合激情五月| 日韩激情在线观看| 久久久www成人免费毛片麻豆| 国内不卡的二区三区中文字幕| 久久精品一级爱片| 91久久国产最好的精华液| 亚洲va国产天堂va久久en| 91精品婷婷国产综合久久竹菊| 国产一区二区不卡| 18成人在线视频| 欧美一级黄色大片| 成人视屏免费看| 午夜精品久久久久久久99水蜜桃 | 黄色精品一二区| 国产精品不卡一区| 欧美一级二级三级蜜桃| 福利一区在线观看| 日韩精品五月天| 欧美激情综合网| 欧美日本在线观看| 成人性生交大片| 日韩精品电影在线| 18欧美亚洲精品| 精品久久久久久久久久久久久久久 | 亚洲一级二级在线| 国产日韩精品一区二区三区| 欧美午夜精品一区二区三区| 精品影院一区二区久久久| 亚洲精品网站在线观看| 欧美大片免费久久精品三p| 色综合咪咪久久| 国产伦精品一区二区三区免费迷 | 高清不卡在线观看av| 日韩电影在线看| 亚洲九九爱视频| 欧美国产乱子伦 | 亚洲欧美一区二区三区极速播放| 日韩女优制服丝袜电影| 欧美在线小视频| 国产精华液一区二区三区| 午夜av一区二区| 亚洲尤物在线视频观看| 成人免费在线视频观看| 国产欧美视频在线观看| 26uuu久久天堂性欧美| 欧美乱妇20p| 在线观看国产91| 91麻豆高清视频| 99国产精品久| av一区二区三区四区| 成人福利视频网站| 国产成人精品影院| 国产精品18久久久久久久网站| 日韩1区2区日韩1区2区| 偷窥少妇高潮呻吟av久久免费 | 欧美日韩黄色一区二区| 99久久免费国产| 91碰在线视频| 色偷偷久久人人79超碰人人澡| 成人激情综合网站| 国产99一区视频免费| 国产精品99久久久久久宅男| 国产乱码精品1区2区3区| 日本午夜精品一区二区三区电影 | 国内外成人在线| 国产主播一区二区三区| 国产在线精品一区在线观看麻豆| 久久精品国产免费| 免费成人性网站| 久久99精品视频| 国产激情偷乱视频一区二区三区| 高清视频一区二区| 国产成人8x视频一区二区| 国产黄色91视频| 99久久er热在这里只有精品15| 99视频一区二区三区| 精品视频在线免费观看| 91精品国产综合久久蜜臀| 欧美xxxxxxxxx| 国产精品私人自拍| 亚洲一区二区三区三| 亚洲国产精品一区二区久久恐怖片| 亚洲gay无套男同| 国产毛片精品视频| 91丨porny丨首页| 日韩免费一区二区三区在线播放| 日韩女优电影在线观看| 中文字幕日韩欧美一区二区三区| 亚洲自拍偷拍av| 国产麻豆9l精品三级站| 99国产麻豆精品| 日韩美女视频在线| 综合久久国产九一剧情麻豆| 日韩电影在线免费观看| 成人avav影音| 欧美一二三区在线观看| 国产精品久久久久久久浪潮网站 | 欧美白人最猛性xxxxx69交| 欧美激情综合网| 免费一级片91| 91在线视频网址| 久久综合av免费| 天堂影院一区二区| 97精品超碰一区二区三区| 精品国产污网站| 亚洲成av人影院| 色综合天天综合给合国产| 精品人伦一区二区色婷婷|