亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
成人午夜精品在线| 国产亚洲精品aa| 一区二区三区国产| 欧美在线一区二区三区| 亚洲福利视频导航| 欧美一三区三区四区免费在线看 | 一区精品在线播放| 91免费视频网| 三级不卡在线观看| 精品av综合导航| 97久久超碰国产精品| 亚洲国产日产av| 日韩欧美国产成人一区二区| 国产精品12区| 亚洲一区二区三区爽爽爽爽爽 | av网站免费线看精品| 一区二区三区欧美| 欧美刺激午夜性久久久久久久| 国产成人综合网| 亚洲影视资源网| 337p粉嫩大胆色噜噜噜噜亚洲| 成人一区二区三区视频| 亚洲国产va精品久久久不卡综合| 精品日韩在线观看| 99久久99精品久久久久久| 亚洲1区2区3区4区| 久久久久久久久久看片| 色妞www精品视频| 蜜臀av性久久久久av蜜臀妖精| 国产欧美精品国产国产专区 | 国产经典欧美精品| 亚洲女人****多毛耸耸8| 日韩午夜激情免费电影| 99re热这里只有精品免费视频| 日一区二区三区| 中文字幕日韩一区二区| 日韩欧美亚洲一区二区| 91视频观看视频| 国产寡妇亲子伦一区二区| 天天做天天摸天天爽国产一区 | 日韩精品中文字幕在线不卡尤物 | 91一区在线观看| 精品一区二区三区在线播放| 亚洲精品免费在线播放| 久久先锋影音av鲁色资源| 欧美综合一区二区三区| 东方欧美亚洲色图在线| 日本中文一区二区三区| 亚洲自拍偷拍av| 成人欧美一区二区三区黑人麻豆| 欧美成人乱码一区二区三区| 欧美三级在线视频| 91美女精品福利| 成人av综合在线| 国产精品影音先锋| 蜜桃传媒麻豆第一区在线观看| 亚洲成人激情综合网| 亚洲人成亚洲人成在线观看图片| 国产日韩欧美亚洲| 久久免费偷拍视频| 欧美成人aa大片| 91精品国产色综合久久不卡电影| 91国模大尺度私拍在线视频| 成人国产精品免费观看| 国产福利一区二区三区视频在线| 经典一区二区三区| 奇米色一区二区三区四区| 日韩成人午夜电影| 婷婷中文字幕综合| 亚洲国产精品久久艾草纯爱| 亚洲福利一二三区| 亚洲综合男人的天堂| 一区二区三区影院| 一区二区三区日韩欧美| 曰韩精品一区二区| 亚洲免费伊人电影| 亚洲精品乱码久久久久久日本蜜臀| 亚洲国产精品av| 国产精品久久久久久户外露出 | 国产成人综合网| 国产成人精品午夜视频免费| 国产麻豆视频一区二区| 国产精品一线二线三线精华| 国产麻豆视频精品| 成人动漫一区二区三区| 成人黄色a**站在线观看| 99久久99久久综合| 欧美视频一区二区三区四区| 欧美性猛交xxxxxx富婆| 777午夜精品视频在线播放| 91精品国产免费| 日韩欧美精品在线| 国产偷国产偷亚洲高清人白洁| 欧美极品少妇xxxxⅹ高跟鞋| 国产精品久久久久四虎| 亚洲欧美区自拍先锋| 亚洲一区二区精品3399| 日韩黄色免费电影| 精品伊人久久久久7777人| 国产麻豆午夜三级精品| 91免费看视频| 欧美精品三级日韩久久| 精品国产凹凸成av人网站| 欧美激情自拍偷拍| 亚洲日本一区二区| 视频一区视频二区在线观看| 国产在线国偷精品产拍免费yy| 国产成人精品免费视频网站| 色噜噜久久综合| 日韩精品专区在线影院重磅| 国产精品久久久久一区二区三区| 亚洲国产精品久久一线不卡| 久久疯狂做爰流白浆xx| 成人福利视频网站| 制服丝袜亚洲网站| 欧美国产精品一区| 亚洲www啪成人一区二区麻豆| 久久成人久久鬼色| 色综合婷婷久久| 精品久久久影院| 一区二区三区在线视频观看| 激情偷乱视频一区二区三区| 日本道免费精品一区二区三区| 日韩欧美一级在线播放| 中文字幕日本不卡| 美女国产一区二区| 91浏览器在线视频| 久久精品亚洲精品国产欧美 | 精品电影一区二区| 亚洲一区二区美女| 高清国产一区二区三区| 69堂亚洲精品首页| 亚洲色图在线视频| 国产精品小仙女| 欧美一区日韩一区| 亚洲黄色小说网站| 国产 日韩 欧美大片| 日韩亚洲欧美一区二区三区| 亚洲黄色尤物视频| 成人app网站| 久久久久久久久免费| 美女性感视频久久| 欧美日韩一区二区三区四区五区| 国产午夜精品美女毛片视频| 美腿丝袜在线亚洲一区| 欧美剧在线免费观看网站| 国产精品成人免费在线| 国产一区二区三区综合 | 日韩亚洲国产中文字幕欧美| 亚洲欧美日韩国产一区二区三区| 国产成人av福利| 精品久久久久久久久久久久久久久久久 | 床上的激情91.| 日韩欧美三级在线| 日本怡春院一区二区| 欧美性色综合网| 亚洲激情网站免费观看| 99热国产精品| 亚洲视频一区二区在线观看| 成人深夜福利app| 国产欧美日韩视频在线观看| 在线区一区二视频| 日韩理论片在线| 不卡一区中文字幕| 日本一区二区三区在线观看| 国产乱码精品一品二品| 精品国产电影一区二区| 看片的网站亚洲| 日韩免费看的电影| 青青草伊人久久| www国产精品av| 国产自产v一区二区三区c| 精品国产乱码久久久久久久久| 久久99精品久久久久久动态图| 欧美电影在哪看比较好| 天天做天天摸天天爽国产一区| 91精品国产综合久久久久久久久久| 日精品一区二区| 欧美一区二区三级| 久久精品国内一区二区三区 | 2021国产精品久久精品| 国产精品一区二区三区99| 国产欧美一区二区在线| 99久久久久免费精品国产| 一区二区三区中文在线| 欧美日韩精品一区视频| 喷水一区二区三区| 久久嫩草精品久久久久| 成+人+亚洲+综合天堂| 一区二区三区四区蜜桃| 欧美日高清视频| 精东粉嫩av免费一区二区三区| 久久精品一区蜜桃臀影院| 972aa.com艺术欧美| 亚洲成av人**亚洲成av**| 日韩欧美国产wwwww| 国产成人自拍在线| 亚洲国产一区二区视频| 日韩女优电影在线观看| 成人综合婷婷国产精品久久蜜臀|