2745 lines
153 KiB
HTML
2745 lines
153 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Event Structures: GDK 3 Reference Manual</title>
|
||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||
<link rel="home" href="index.html" title="GDK 3 Reference Manual">
|
||
<link rel="up" href="reference.html" title="API Reference">
|
||
<link rel="prev" href="gdk3-Events.html" title="Events">
|
||
<link rel="next" href="gdk3-Keyboard-Handling.html" title="Key Values">
|
||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||
<link rel="stylesheet" href="style.css" type="text/css">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||
<td width="100%" align="left" class="shortcuts">
|
||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||
<a href="#gdk3-Event-Structures.description" class="shortcut">Description</a></span>
|
||
</td>
|
||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||
<td><a accesskey="u" href="reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||
<td><a accesskey="p" href="gdk3-Events.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||
<td><a accesskey="n" href="gdk3-Keyboard-Handling.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||
</tr></table>
|
||
<div class="refentry">
|
||
<a name="gdk3-Event-Structures"></a><div class="titlepage"></div>
|
||
<div class="refnamediv"><table width="100%"><tr>
|
||
<td valign="top">
|
||
<h2><span class="refentrytitle"><a name="gdk3-Event-Structures.top_of_page"></a>Event Structures</span></h2>
|
||
<p>Event Structures — Data structures specific to each type of event</p>
|
||
</td>
|
||
<td class="gallery_image" valign="top" align="right"></td>
|
||
</tr></table></div>
|
||
<div class="refsect1">
|
||
<a name="gdk3-Event-Structures.other"></a><h2>Types and Values</h2>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="150px" class="name">
|
||
<col class="description">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="datatype_keyword">union</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent">GdkEvent</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventAny" title="struct GdkEventAny">GdkEventAny</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey">GdkEventKey</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventButton" title="struct GdkEventButton">GdkEventButton</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventTouch" title="struct GdkEventTouch">GdkEventTouch</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventScroll" title="struct GdkEventScroll">GdkEventScroll</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventMotion" title="struct GdkEventMotion">GdkEventMotion</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventExpose" title="struct GdkEventExpose">GdkEventExpose</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventVisibility" title="struct GdkEventVisibility">GdkEventVisibility</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventCrossing" title="struct GdkEventCrossing">GdkEventCrossing</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventFocus" title="struct GdkEventFocus">GdkEventFocus</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventConfigure" title="struct GdkEventConfigure">GdkEventConfigure</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventProperty" title="struct GdkEventProperty">GdkEventProperty</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventSelection" title="struct GdkEventSelection">GdkEventSelection</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventDND" title="struct GdkEventDND">GdkEventDND</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventProximity" title="struct GdkEventProximity">GdkEventProximity</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventWindowState" title="struct GdkEventWindowState">GdkEventWindowState</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventSetting" title="struct GdkEventSetting">GdkEventSetting</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventOwnerChange" title="struct GdkEventOwnerChange">GdkEventOwnerChange</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken">GdkEventGrabBroken</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadSwipe" title="struct GdkEventTouchpadSwipe">GdkEventTouchpadSwipe</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadPinch" title="struct GdkEventTouchpadPinch">GdkEventTouchpadPinch</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventPadButton" title="struct GdkEventPadButton">GdkEventPadButton</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventPadAxis" title="struct GdkEventPadAxis">GdkEventPadAxis</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">struct</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkEventPadGroupMode" title="struct GdkEventPadGroupMode">GdkEventPadGroupMode</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkScrollDirection" title="enum GdkScrollDirection">GdkScrollDirection</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkVisibilityState" title="enum GdkVisibilityState">GdkVisibilityState</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkCrossingMode" title="enum GdkCrossingMode">GdkCrossingMode</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkNotifyType" title="enum GdkNotifyType">GdkNotifyType</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkPropertyState" title="enum GdkPropertyState">GdkPropertyState</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkWindowState" title="enum GdkWindowState">GdkWindowState</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkSettingAction" title="enum GdkSettingAction">GdkSettingAction</a></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="datatype_keyword">enum</td>
|
||
<td class="function_name"><a class="link" href="gdk3-Event-Structures.html#GdkOwnerChange" title="enum GdkOwnerChange">GdkOwnerChange</a></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="gdk3-Event-Structures.includes"></a><h2>Includes</h2>
|
||
<pre class="synopsis">#include <gdk/gdk.h>
|
||
</pre>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="gdk3-Event-Structures.description"></a><h2>Description</h2>
|
||
<p>The event structures contain data specific to each type of event in GDK.</p>
|
||
<div class="blockquote"><blockquote class="blockquote"><p>A common mistake is to forget to set the event mask of a widget so that
|
||
the required events are received. See <code class="function">gtk_widget_set_events()</code>.</p></blockquote></div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="gdk3-Event-Structures.functions_details"></a><h2>Functions</h2>
|
||
<p></p>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="gdk3-Event-Structures.other_details"></a><h2>Types and Values</h2>
|
||
<div class="refsect2">
|
||
<a name="GdkEvent"></a><h3>union GdkEvent</h3>
|
||
<p>A <a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> contains a union of all of the event types,
|
||
and allows access to the data fields in a number of ways.</p>
|
||
<p>The event type is always the first field in all of the event types, and
|
||
can always be accessed with the following code, no matter what type of
|
||
event it is:</p>
|
||
<div class="informalexample">
|
||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||
<tbody>
|
||
<tr>
|
||
<td class="listing_lines" align="right"><pre>1
|
||
2
|
||
3
|
||
4</pre></td>
|
||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">;</span>
|
||
<span class="usertype">GdkEventType</span><span class="normal"> type</span><span class="symbol">;</span>
|
||
|
||
<span class="normal">type </span><span class="symbol">=</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">type</span><span class="symbol">;</span></pre></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<p></p>
|
||
<p>To access other fields of the event, the pointer to the event
|
||
can be cast to the appropriate event type, or the union member
|
||
name can be used. For example if the event type is <a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a>
|
||
then the x coordinate of the button press can be accessed with:</p>
|
||
<div class="informalexample">
|
||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||
<tbody>
|
||
<tr>
|
||
<td class="listing_lines" align="right"><pre>1
|
||
2
|
||
3
|
||
4</pre></td>
|
||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">;</span>
|
||
<span class="usertype">gdouble</span><span class="normal"> x</span><span class="symbol">;</span>
|
||
|
||
<span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="gdk3-Event-Structures.html#GdkEventButton">GdkEventButton</a></span><span class="symbol">*)</span><span class="normal">event</span><span class="symbol">)-></span><span class="normal">x</span><span class="symbol">;</span></pre></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<p>
|
||
or:</p>
|
||
<div class="informalexample">
|
||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||
<tbody>
|
||
<tr>
|
||
<td class="listing_lines" align="right"><pre>1
|
||
2
|
||
3
|
||
4</pre></td>
|
||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">;</span>
|
||
<span class="usertype">gdouble</span><span class="normal"> x</span><span class="symbol">;</span>
|
||
|
||
<span class="normal">x </span><span class="symbol">=</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">;</span></pre></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<p></p>
|
||
<div class="refsect3">
|
||
<a name="GdkEvent.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="union_members_name">
|
||
<col class="union_members_description">
|
||
<col width="200px" class="union_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEvent.type"></a>type</code></em>;</p></td>
|
||
<td class="union_member_description"><p>the <a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventAny" title="struct GdkEventAny"><span class="type">GdkEventAny</span></a> <em class="structfield"><code><a name="GdkEvent.any"></a>any</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventAny" title="struct GdkEventAny"><span class="type">GdkEventAny</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventExpose" title="struct GdkEventExpose"><span class="type">GdkEventExpose</span></a> <em class="structfield"><code><a name="GdkEvent.expose"></a>expose</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventExpose" title="struct GdkEventExpose"><span class="type">GdkEventExpose</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventVisibility" title="struct GdkEventVisibility"><span class="type">GdkEventVisibility</span></a> <em class="structfield"><code><a name="GdkEvent.visibility"></a>visibility</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventVisibility" title="struct GdkEventVisibility"><span class="type">GdkEventVisibility</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventMotion" title="struct GdkEventMotion"><span class="type">GdkEventMotion</span></a> <em class="structfield"><code><a name="GdkEvent.motion"></a>motion</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventMotion" title="struct GdkEventMotion"><span class="type">GdkEventMotion</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventButton" title="struct GdkEventButton"><span class="type">GdkEventButton</span></a> <em class="structfield"><code><a name="GdkEvent.button"></a>button</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventButton" title="struct GdkEventButton"><span class="type">GdkEventButton</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventTouch" title="struct GdkEventTouch"><span class="type">GdkEventTouch</span></a> <em class="structfield"><code><a name="GdkEvent.touch"></a>touch</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventTouch" title="struct GdkEventTouch"><span class="type">GdkEventTouch</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventScroll" title="struct GdkEventScroll"><span class="type">GdkEventScroll</span></a> <em class="structfield"><code><a name="GdkEvent.scroll"></a>scroll</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventScroll" title="struct GdkEventScroll"><span class="type">GdkEventScroll</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a> <em class="structfield"><code><a name="GdkEvent.key"></a>key</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventCrossing" title="struct GdkEventCrossing"><span class="type">GdkEventCrossing</span></a> <em class="structfield"><code><a name="GdkEvent.crossing"></a>crossing</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventCrossing" title="struct GdkEventCrossing"><span class="type">GdkEventCrossing</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventFocus" title="struct GdkEventFocus"><span class="type">GdkEventFocus</span></a> <em class="structfield"><code><a name="GdkEvent.focus-change"></a>focus_change</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventFocus" title="struct GdkEventFocus"><span class="type">GdkEventFocus</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventConfigure" title="struct GdkEventConfigure"><span class="type">GdkEventConfigure</span></a> <em class="structfield"><code><a name="GdkEvent.configure"></a>configure</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventConfigure" title="struct GdkEventConfigure"><span class="type">GdkEventConfigure</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventProperty" title="struct GdkEventProperty"><span class="type">GdkEventProperty</span></a> <em class="structfield"><code><a name="GdkEvent.property"></a>property</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventProperty" title="struct GdkEventProperty"><span class="type">GdkEventProperty</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventSelection" title="struct GdkEventSelection"><span class="type">GdkEventSelection</span></a> <em class="structfield"><code><a name="GdkEvent.selection"></a>selection</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventSelection" title="struct GdkEventSelection"><span class="type">GdkEventSelection</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventOwnerChange" title="struct GdkEventOwnerChange"><span class="type">GdkEventOwnerChange</span></a> <em class="structfield"><code><a name="GdkEvent.owner-change"></a>owner_change</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventOwnerChange" title="struct GdkEventOwnerChange"><span class="type">GdkEventOwnerChange</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventProximity" title="struct GdkEventProximity"><span class="type">GdkEventProximity</span></a> <em class="structfield"><code><a name="GdkEvent.proximity"></a>proximity</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventProximity" title="struct GdkEventProximity"><span class="type">GdkEventProximity</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventDND" title="struct GdkEventDND"><span class="type">GdkEventDND</span></a> <em class="structfield"><code><a name="GdkEvent.dnd"></a>dnd</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventDND" title="struct GdkEventDND"><span class="type">GdkEventDND</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventWindowState" title="struct GdkEventWindowState"><span class="type">GdkEventWindowState</span></a> <em class="structfield"><code><a name="GdkEvent.window-state"></a>window_state</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventWindowState" title="struct GdkEventWindowState"><span class="type">GdkEventWindowState</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventSetting" title="struct GdkEventSetting"><span class="type">GdkEventSetting</span></a> <em class="structfield"><code><a name="GdkEvent.setting"></a>setting</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventSetting" title="struct GdkEventSetting"><span class="type">GdkEventSetting</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a> <em class="structfield"><code><a name="GdkEvent.grab-broken"></a>grab_broken</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadSwipe" title="struct GdkEventTouchpadSwipe"><span class="type">GdkEventTouchpadSwipe</span></a> <em class="structfield"><code><a name="GdkEvent.touchpad-swipe"></a>touchpad_swipe</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadSwipe" title="struct GdkEventTouchpadSwipe"><span class="type">GdkEventTouchpadSwipe</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadPinch" title="struct GdkEventTouchpadPinch"><span class="type">GdkEventTouchpadPinch</span></a> <em class="structfield"><code><a name="GdkEvent.touchpad-pinch"></a>touchpad_pinch</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventTouchpadPinch" title="struct GdkEventTouchpadPinch"><span class="type">GdkEventTouchpadPinch</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventPadButton" title="struct GdkEventPadButton"><span class="type">GdkEventPadButton</span></a> <em class="structfield"><code><a name="GdkEvent.pad-button"></a>pad_button</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventPadButton" title="struct GdkEventPadButton"><span class="type">GdkEventPadButton</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventPadAxis" title="struct GdkEventPadAxis"><span class="type">GdkEventPadAxis</span></a> <em class="structfield"><code><a name="GdkEvent.pad-axis"></a>pad_axis</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventPadAxis" title="struct GdkEventPadAxis"><span class="type">GdkEventPadAxis</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="union_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkEventPadGroupMode" title="struct GdkEventPadGroupMode"><span class="type">GdkEventPadGroupMode</span></a> <em class="structfield"><code><a name="GdkEvent.pad-group-mode"></a>pad_group_mode</code></em>;</p></td>
|
||
<td class="union_member_description"><p>a <a class="link" href="gdk3-Event-Structures.html#GdkEventPadGroupMode" title="struct GdkEventPadGroupMode"><span class="type">GdkEventPadGroupMode</span></a></p></td>
|
||
<td class="union_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventAny"></a><h3>struct GdkEventAny</h3>
|
||
<pre class="programlisting">struct GdkEventAny {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
};
|
||
</pre>
|
||
<p>Contains the fields which are common to all event structs.
|
||
Any event pointer can safely be cast to a pointer to a <a class="link" href="gdk3-Event-Structures.html#GdkEventAny" title="struct GdkEventAny"><span class="type">GdkEventAny</span></a> to
|
||
access these fields.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventAny.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventAny.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventAny.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventAny.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventKey"></a><h3>struct GdkEventKey</h3>
|
||
<pre class="programlisting">struct GdkEventKey {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
guint state;
|
||
guint keyval;
|
||
gint length;
|
||
gchar *string;
|
||
guint16 hardware_keycode;
|
||
guint8 group;
|
||
guint is_modifier : 1;
|
||
};
|
||
</pre>
|
||
<p>Describes a key press or key release event.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventKey.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventKey.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-KEY-PRESS:CAPS"><code class="literal">GDK_KEY_PRESS</code></a> or <a class="link" href="gdk3-Events.html#GDK-KEY-RELEASE:CAPS"><code class="literal">GDK_KEY_RELEASE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventKey.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventKey.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventKey.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.keyval"></a>keyval</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the key that was pressed or released. See the
|
||
<code class="literal">gdk/gdkkeysyms.h</code> header file for a
|
||
complete list of GDK key codes.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventKey.length"></a>length</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the length of <em class="parameter"><code>string</code></em>
|
||
.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkEventKey.string"></a>string</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a string containing an approximation of the text that
|
||
would result from this keypress. The only correct way to handle text
|
||
input of text is using input methods (see <span class="type">GtkIMContext</span>), so this
|
||
field is deprecated and should never be used.
|
||
(<a class="link" href="gdk3-Keyboard-Handling.html#gdk-unicode-to-keyval" title="gdk_unicode_to_keyval ()"><code class="function">gdk_unicode_to_keyval()</code></a> provides a non-deprecated way of getting
|
||
an approximate translation for a key.) The string is encoded in the
|
||
encoding of the current locale (Note: this for backwards compatibility:
|
||
strings in GTK+ and GDK are typically in UTF-8.) and NUL-terminated.
|
||
In some cases, the translation of the key code will be a single
|
||
NUL byte, in which case looking at <em class="parameter"><code>length</code></em>
|
||
is necessary to distinguish
|
||
it from the an empty translation.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GdkEventKey.hardware-keycode"></a>hardware_keycode</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the raw code of the key that was pressed or released.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GdkEventKey.group"></a>group</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the keyboard group.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventKey.is-modifier"></a>is_modifier</code></em> : 1;</p></td>
|
||
<td class="struct_member_description"><p>a flag that indicates if <em class="parameter"><code>hardware_keycode</code></em>
|
||
is mapped to a
|
||
modifier. Since 2.10</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventButton"></a><h3>struct GdkEventButton</h3>
|
||
<pre class="programlisting">struct GdkEventButton {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble *axes;
|
||
guint state;
|
||
guint button;
|
||
GdkDevice *device;
|
||
gdouble x_root, y_root;
|
||
};
|
||
</pre>
|
||
<p>Used for button press and button release events. The
|
||
<em class="parameter"><code>type</code></em>
|
||
field will be one of <a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><code class="literal">GDK_2BUTTON_PRESS</code></a>, <a class="link" href="gdk3-Events.html#GDK-3BUTTON-PRESS:CAPS"><code class="literal">GDK_3BUTTON_PRESS</code></a> or <a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a>,</p>
|
||
<p>Double and triple-clicks result in a sequence of events being received.
|
||
For double-clicks the order of events will be:</p>
|
||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><code class="literal">GDK_2BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a></p></li>
|
||
</ul></div>
|
||
<p>Note that the first click is received just like a normal
|
||
button press, while the second click results in a <a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><code class="literal">GDK_2BUTTON_PRESS</code></a>
|
||
being received just after the <a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a>.</p>
|
||
<p>Triple-clicks are very similar to double-clicks, except that
|
||
<a class="link" href="gdk3-Events.html#GDK-3BUTTON-PRESS:CAPS"><code class="literal">GDK_3BUTTON_PRESS</code></a> is inserted after the third click. The order of the
|
||
events is:</p>
|
||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><code class="literal">GDK_2BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-3BUTTON-PRESS:CAPS"><code class="literal">GDK_3BUTTON_PRESS</code></a></p></li>
|
||
<li class="listitem"><p><a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a></p></li>
|
||
</ul></div>
|
||
<p>For a double click to occur, the second button press must occur within
|
||
1/4 of a second of the first. For a triple click to occur, the third
|
||
button press must also occur within 1/2 second of the first button press.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventButton.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventButton.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-BUTTON-PRESS:CAPS"><code class="literal">GDK_BUTTON_PRESS</code></a>, <a class="link" href="gdk3-Events.html#GDK-2BUTTON-PRESS:CAPS"><code class="literal">GDK_2BUTTON_PRESS</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-3BUTTON-PRESS:CAPS"><code class="literal">GDK_3BUTTON_PRESS</code></a> or <a class="link" href="gdk3-Events.html#GDK-BUTTON-RELEASE:CAPS"><code class="literal">GDK_BUTTON_RELEASE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventButton.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventButton.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventButton.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventButton.axes"></a>axes</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||
, <em class="parameter"><code>y</code></em>
|
||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||
is
|
||
the mouse.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventButton.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventButton.button"></a>button</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the button which was pressed or released, numbered from 1 to 5.
|
||
Normally button 1 is the left mouse button, 2 is the middle button,
|
||
and 3 is the right button. On 2-button mice, the middle button can
|
||
often be simulated by pressing both mouse buttons together.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *<em class="structfield"><code><a name="GdkEventButton.device"></a>device</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the master device that the event originated from. Use
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-source-device" title="gdk_event_get_source_device ()"><code class="function">gdk_event_get_source_device()</code></a> to get the slave device.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventButton.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventTouch"></a><h3>struct GdkEventTouch</h3>
|
||
<pre class="programlisting">struct GdkEventTouch {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble *axes;
|
||
guint state;
|
||
GdkEventSequence *sequence;
|
||
gboolean emulating_pointer;
|
||
GdkDevice *device;
|
||
gdouble x_root, y_root;
|
||
};
|
||
</pre>
|
||
<p>Used for touch events.
|
||
<em class="parameter"><code>type</code></em>
|
||
field will be one of <a class="link" href="gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><code class="literal">GDK_TOUCH_BEGIN</code></a>, <a class="link" href="gdk3-Events.html#GDK-TOUCH-UPDATE:CAPS"><code class="literal">GDK_TOUCH_UPDATE</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-TOUCH-END:CAPS"><code class="literal">GDK_TOUCH_END</code></a> or <a class="link" href="gdk3-Events.html#GDK-TOUCH-CANCEL:CAPS"><code class="literal">GDK_TOUCH_CANCEL</code></a>.</p>
|
||
<p>Touch events are grouped into sequences by means of the <em class="parameter"><code>sequence</code></em>
|
||
|
||
field, which can also be obtained with <a class="link" href="gdk3-Events.html#gdk-event-get-event-sequence" title="gdk_event_get_event_sequence ()"><code class="function">gdk_event_get_event_sequence()</code></a>.
|
||
Each sequence begins with a <a class="link" href="gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><code class="literal">GDK_TOUCH_BEGIN</code></a> event, followed by
|
||
any number of <a class="link" href="gdk3-Events.html#GDK-TOUCH-UPDATE:CAPS"><code class="literal">GDK_TOUCH_UPDATE</code></a> events, and ends with a <a class="link" href="gdk3-Events.html#GDK-TOUCH-END:CAPS"><code class="literal">GDK_TOUCH_END</code></a>
|
||
(or <a class="link" href="gdk3-Events.html#GDK-TOUCH-CANCEL:CAPS"><code class="literal">GDK_TOUCH_CANCEL</code></a>) event. With multitouch devices, there may be
|
||
several active sequences at the same time.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventTouch.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventTouch.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-TOUCH-BEGIN:CAPS"><code class="literal">GDK_TOUCH_BEGIN</code></a>, <a class="link" href="gdk3-Events.html#GDK-TOUCH-UPDATE:CAPS"><code class="literal">GDK_TOUCH_UPDATE</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-TOUCH-END:CAPS"><code class="literal">GDK_TOUCH_END</code></a>, <a class="link" href="gdk3-Events.html#GDK-TOUCH-CANCEL:CAPS"><code class="literal">GDK_TOUCH_CANCEL</code></a>)</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventTouch.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouch.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouch.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventTouch.axes"></a>axes</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||
, <em class="parameter"><code>y</code></em>
|
||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||
is
|
||
the mouse</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouch.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventSequence" title="GdkEventSequence"><span class="type">GdkEventSequence</span></a> *<em class="structfield"><code><a name="GdkEventTouch.sequence"></a>sequence</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the event sequence that the event belongs to</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventTouch.emulating-pointer"></a>emulating_pointer</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>whether the event should be used for emulating
|
||
pointer event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *<em class="structfield"><code><a name="GdkEventTouch.device"></a>device</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the master device that the event originated from. Use
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-source-device" title="gdk_event_get_source_device ()"><code class="function">gdk_event_get_source_device()</code></a> to get the slave device.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||
screen</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouch.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||
screen</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventScroll"></a><h3>struct GdkEventScroll</h3>
|
||
<pre class="programlisting">struct GdkEventScroll {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
guint state;
|
||
GdkScrollDirection direction;
|
||
GdkDevice *device;
|
||
gdouble x_root, y_root;
|
||
gdouble delta_x;
|
||
gdouble delta_y;
|
||
guint is_stop : 1;
|
||
};
|
||
</pre>
|
||
<p>Generated from button presses for the buttons 4 to 7. Wheel mice are
|
||
usually configured to generate button press events for buttons 4 and 5
|
||
when the wheel is turned.</p>
|
||
<p>Some GDK backends can also generate “smooth” scroll events, which
|
||
can be recognized by the <a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-SMOOTH:CAPS"><code class="literal">GDK_SCROLL_SMOOTH</code></a> scroll direction. For
|
||
these, the scroll deltas can be obtained with
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-scroll-deltas" title="gdk_event_get_scroll_deltas ()"><code class="function">gdk_event_get_scroll_deltas()</code></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventScroll.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventScroll.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-SCROLL:CAPS"><code class="literal">GDK_SCROLL</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventScroll.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventScroll.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventScroll.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventScroll.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkScrollDirection" title="enum GdkScrollDirection"><span class="type">GdkScrollDirection</span></a> <em class="structfield"><code><a name="GdkEventScroll.direction"></a>direction</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the direction to scroll to (one of <a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-UP:CAPS"><code class="literal">GDK_SCROLL_UP</code></a>,
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-DOWN:CAPS"><code class="literal">GDK_SCROLL_DOWN</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-LEFT:CAPS"><code class="literal">GDK_SCROLL_LEFT</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-RIGHT:CAPS"><code class="literal">GDK_SCROLL_RIGHT</code></a> or
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-SCROLL-SMOOTH:CAPS"><code class="literal">GDK_SCROLL_SMOOTH</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *<em class="structfield"><code><a name="GdkEventScroll.device"></a>device</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the master device that the event originated from. Use
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-source-device" title="gdk_event_get_source_device ()"><code class="function">gdk_event_get_source_device()</code></a> to get the slave device.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.delta-x"></a>delta_x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the scroll delta</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventScroll.delta-y"></a>delta_y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the scroll delta</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventScroll.is-stop"></a>is_stop</code></em> : 1;</p></td>
|
||
<td> </td>
|
||
<td> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventMotion"></a><h3>struct GdkEventMotion</h3>
|
||
<pre class="programlisting">struct GdkEventMotion {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble *axes;
|
||
guint state;
|
||
gint16 is_hint;
|
||
GdkDevice *device;
|
||
gdouble x_root, y_root;
|
||
};
|
||
</pre>
|
||
<p>Generated when the pointer moves.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventMotion.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventMotion.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventMotion.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventMotion.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventMotion.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> *<em class="structfield"><code><a name="GdkEventMotion.axes"></a>axes</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><em class="parameter"><code>x</code></em>
|
||
, <em class="parameter"><code>y</code></em>
|
||
translated to the axes of <em class="parameter"><code>device</code></em>
|
||
, or <code class="literal">NULL</code> if <em class="parameter"><code>device</code></em>
|
||
is
|
||
the mouse.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventMotion.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint16</span> <em class="structfield"><code><a name="GdkEventMotion.is-hint"></a>is_hint</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>set to 1 if this event is just a hint, see the
|
||
<a class="link" href="gdk3-Events.html#GDK-POINTER-MOTION-HINT-MASK:CAPS"><code class="literal">GDK_POINTER_MOTION_HINT_MASK</code></a> value of <a class="link" href="gdk3-Events.html#GdkEventMask" title="enum GdkEventMask"><span class="type">GdkEventMask</span></a>.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *<em class="structfield"><code><a name="GdkEventMotion.device"></a>device</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the master device that the event originated from. Use
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-source-device" title="gdk_event_get_source_device ()"><code class="function">gdk_event_get_source_device()</code></a> to get the slave device.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventMotion.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||
screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventExpose"></a><h3>struct GdkEventExpose</h3>
|
||
<pre class="programlisting">struct GdkEventExpose {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkRectangle area;
|
||
cairo_region_t *region;
|
||
gint count; /* If non-zero, how many more events follow. */
|
||
};
|
||
</pre>
|
||
<p>Generated when all or part of a window becomes visible and needs to be
|
||
redrawn.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventExpose.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventExpose.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-EXPOSE:CAPS"><code class="literal">GDK_EXPOSE</code></a> or <a class="link" href="gdk3-Events.html#GDK-DAMAGE:CAPS"><code class="literal">GDK_DAMAGE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventExpose.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventExpose.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> <em class="structfield"><code><a name="GdkEventExpose.area"></a>area</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>bounding box of <em class="parameter"><code>region</code></em>
|
||
.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/cairo/cairo-Regions.html#cairo-region-t"><span class="type">cairo_region_t</span></a> *<em class="structfield"><code><a name="GdkEventExpose.region"></a>region</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the region that needs to be redrawn.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventExpose.count"></a>count</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the number of contiguous <a class="link" href="gdk3-Events.html#GDK-EXPOSE:CAPS"><code class="literal">GDK_EXPOSE</code></a> events following this one.
|
||
The only use for this is “exposure compression”, i.e. handling all
|
||
contiguous <a class="link" href="gdk3-Events.html#GDK-EXPOSE:CAPS"><code class="literal">GDK_EXPOSE</code></a> events in one go, though GDK performs some
|
||
exposure compression so this is not normally needed.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventVisibility"></a><h3>struct GdkEventVisibility</h3>
|
||
<pre class="programlisting">struct GdkEventVisibility {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkVisibilityState state;
|
||
};
|
||
</pre>
|
||
<div class="warning">
|
||
<p><code class="literal">GdkEventVisibility</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
|
||
<p>Modern composited windowing systems with pervasive
|
||
transparency make it impossible to track the visibility of a window
|
||
reliably, so this event can not be guaranteed to provide useful
|
||
information.</p>
|
||
</div>
|
||
<p>Generated when the window visibility status has changed.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventVisibility.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventVisibility.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-VISIBILITY-NOTIFY:CAPS"><code class="literal">GDK_VISIBILITY_NOTIFY</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventVisibility.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventVisibility.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkVisibilityState" title="enum GdkVisibilityState"><span class="type">GdkVisibilityState</span></a> <em class="structfield"><code><a name="GdkEventVisibility.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new visibility state (<a class="link" href="gdk3-Event-Structures.html#GDK-VISIBILITY-FULLY-OBSCURED:CAPS"><code class="literal">GDK_VISIBILITY_FULLY_OBSCURED</code></a>,
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-VISIBILITY-PARTIAL:CAPS"><code class="literal">GDK_VISIBILITY_PARTIAL</code></a> or <a class="link" href="gdk3-Event-Structures.html#GDK-VISIBILITY-UNOBSCURED:CAPS"><code class="literal">GDK_VISIBILITY_UNOBSCURED</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventCrossing"></a><h3>struct GdkEventCrossing</h3>
|
||
<pre class="programlisting">struct GdkEventCrossing {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkWindow *subwindow;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble x_root;
|
||
gdouble y_root;
|
||
GdkCrossingMode mode;
|
||
GdkNotifyType detail;
|
||
gboolean focus;
|
||
guint state;
|
||
};
|
||
</pre>
|
||
<p>Generated when the pointer enters or leaves a window.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventCrossing.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventCrossing.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-ENTER-NOTIFY:CAPS"><code class="literal">GDK_ENTER_NOTIFY</code></a> or <a class="link" href="gdk3-Events.html#GDK-LEAVE-NOTIFY:CAPS"><code class="literal">GDK_LEAVE_NOTIFY</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventCrossing.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventCrossing.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventCrossing.subwindow"></a>subwindow</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window that was entered or left.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventCrossing.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventCrossing.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkCrossingMode" title="enum GdkCrossingMode"><span class="type">GdkCrossingMode</span></a> <em class="structfield"><code><a name="GdkEventCrossing.mode"></a>mode</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the crossing mode (<a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-NORMAL:CAPS"><code class="literal">GDK_CROSSING_NORMAL</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-GRAB:CAPS"><code class="literal">GDK_CROSSING_GRAB</code></a>,
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-UNGRAB:CAPS"><code class="literal">GDK_CROSSING_UNGRAB</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-GTK-GRAB:CAPS"><code class="literal">GDK_CROSSING_GTK_GRAB</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-GTK-UNGRAB:CAPS"><code class="literal">GDK_CROSSING_GTK_UNGRAB</code></a> or
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-STATE-CHANGED:CAPS"><code class="literal">GDK_CROSSING_STATE_CHANGED</code></a>). <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-GTK-GRAB:CAPS"><code class="literal">GDK_CROSSING_GTK_GRAB</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-GTK-UNGRAB:CAPS"><code class="literal">GDK_CROSSING_GTK_UNGRAB</code></a>,
|
||
and <a class="link" href="gdk3-Event-Structures.html#GDK-CROSSING-STATE-CHANGED:CAPS"><code class="literal">GDK_CROSSING_STATE_CHANGED</code></a> were added in 2.14 and are always synthesized,
|
||
never native.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkNotifyType" title="enum GdkNotifyType"><span class="type">GdkNotifyType</span></a> <em class="structfield"><code><a name="GdkEventCrossing.detail"></a>detail</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the kind of crossing that happened (<a class="link" href="gdk3-Event-Structures.html#GDK-NOTIFY-INFERIOR:CAPS"><code class="literal">GDK_NOTIFY_INFERIOR</code></a>,
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-NOTIFY-ANCESTOR:CAPS"><code class="literal">GDK_NOTIFY_ANCESTOR</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-NOTIFY-VIRTUAL:CAPS"><code class="literal">GDK_NOTIFY_VIRTUAL</code></a>, <a class="link" href="gdk3-Event-Structures.html#GDK-NOTIFY-NONLINEAR:CAPS"><code class="literal">GDK_NOTIFY_NONLINEAR</code></a> or
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-NOTIFY-NONLINEAR-VIRTUAL:CAPS"><code class="literal">GDK_NOTIFY_NONLINEAR_VIRTUAL</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventCrossing.focus"></a>focus</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
|
||
is the focus window or an inferior.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventCrossing.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventFocus"></a><h3>struct GdkEventFocus</h3>
|
||
<pre class="programlisting">struct GdkEventFocus {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
gint16 in;
|
||
};
|
||
</pre>
|
||
<p>Describes a change of keyboard focus.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventFocus.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventFocus.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-FOCUS-CHANGE:CAPS"><code class="literal">GDK_FOCUS_CHANGE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventFocus.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventFocus.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint16</span> <em class="structfield"><code><a name="GdkEventFocus.in"></a>in</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the window has gained the keyboard focus, <code class="literal">FALSE</code> if
|
||
it has lost the focus.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventConfigure"></a><h3>struct GdkEventConfigure</h3>
|
||
<pre class="programlisting">struct GdkEventConfigure {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
gint x, y;
|
||
gint width;
|
||
gint height;
|
||
};
|
||
</pre>
|
||
<p>Generated when a window size or position has changed.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventConfigure.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventConfigure.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-CONFIGURE:CAPS"><code class="literal">GDK_CONFIGURE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventConfigure.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventConfigure.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new x coordinate of the window, relative to its parent.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new y coordinate of the window, relative to its parent.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.width"></a>width</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new width of the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GdkEventConfigure.height"></a>height</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new height of the window.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventProperty"></a><h3>struct GdkEventProperty</h3>
|
||
<pre class="programlisting">struct GdkEventProperty {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkAtom atom;
|
||
guint32 time;
|
||
guint state;
|
||
};
|
||
</pre>
|
||
<p>Describes a property change on a window.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventProperty.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventProperty.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-PROPERTY-NOTIFY:CAPS"><code class="literal">GDK_PROPERTY_NOTIFY</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventProperty.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventProperty.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> <em class="structfield"><code><a name="GdkEventProperty.atom"></a>atom</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the property that was changed.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventProperty.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventProperty.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>whether the property was changed
|
||
(<a class="link" href="gdk3-Event-Structures.html#GDK-PROPERTY-NEW-VALUE:CAPS"><code class="literal">GDK_PROPERTY_NEW_VALUE</code></a>) or deleted (<a class="link" href="gdk3-Event-Structures.html#GDK-PROPERTY-DELETE:CAPS"><code class="literal">GDK_PROPERTY_DELETE</code></a>). </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkPropertyState]</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventSelection"></a><h3>struct GdkEventSelection</h3>
|
||
<pre class="programlisting">struct GdkEventSelection {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkAtom selection;
|
||
GdkAtom target;
|
||
GdkAtom property;
|
||
guint32 time;
|
||
GdkWindow *requestor;
|
||
};
|
||
</pre>
|
||
<p>Generated when a selection is requested or ownership of a selection
|
||
is taken over by another client application.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventSelection.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventSelection.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-SELECTION-CLEAR:CAPS"><code class="literal">GDK_SELECTION_CLEAR</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-SELECTION-NOTIFY:CAPS"><code class="literal">GDK_SELECTION_NOTIFY</code></a> or <a class="link" href="gdk3-Events.html#GDK-SELECTION-REQUEST:CAPS"><code class="literal">GDK_SELECTION_REQUEST</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventSelection.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventSelection.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> <em class="structfield"><code><a name="GdkEventSelection.selection"></a>selection</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the selection.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> <em class="structfield"><code><a name="GdkEventSelection.target"></a>target</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the target to which the selection should be converted.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> <em class="structfield"><code><a name="GdkEventSelection.property"></a>property</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the property in which to place the result of the conversion.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventSelection.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventSelection.requestor"></a>requestor</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window on which to place <em class="parameter"><code>property</code></em>
|
||
or <code class="literal">NULL</code> if none.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventDND"></a><h3>struct GdkEventDND</h3>
|
||
<pre class="programlisting">struct GdkEventDND {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkDragContext *context;
|
||
|
||
guint32 time;
|
||
gshort x_root, y_root;
|
||
};
|
||
</pre>
|
||
<p>Generated during DND operations.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventDND.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventDND.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-DRAG-ENTER:CAPS"><code class="literal">GDK_DRAG_ENTER</code></a>, <a class="link" href="gdk3-Events.html#GDK-DRAG-LEAVE:CAPS"><code class="literal">GDK_DRAG_LEAVE</code></a>,
|
||
<a class="link" href="gdk3-Events.html#GDK-DRAG-MOTION:CAPS"><code class="literal">GDK_DRAG_MOTION</code></a>, <a class="link" href="gdk3-Events.html#GDK-DRAG-STATUS:CAPS"><code class="literal">GDK_DRAG_STATUS</code></a>, <a class="link" href="gdk3-Events.html#GDK-DROP-START:CAPS"><code class="literal">GDK_DROP_START</code></a> or
|
||
<a class="link" href="gdk3-Events.html#GDK-DROP-FINISHED:CAPS"><code class="literal">GDK_DROP_FINISHED</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventDND.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventDND.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *<em class="structfield"><code><a name="GdkEventDND.context"></a>context</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the <a class="link" href="gdk3-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> for the current DND operation.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventDND.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gshort</span> <em class="structfield"><code><a name="GdkEventDND.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the x coordinate of the pointer relative to the root of the
|
||
screen, only set for <a class="link" href="gdk3-Events.html#GDK-DRAG-MOTION:CAPS"><code class="literal">GDK_DRAG_MOTION</code></a> and <a class="link" href="gdk3-Events.html#GDK-DROP-START:CAPS"><code class="literal">GDK_DROP_START</code></a>.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gshort</span> <em class="structfield"><code><a name="GdkEventDND.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the y coordinate of the pointer relative to the root of the
|
||
screen, only set for <a class="link" href="gdk3-Events.html#GDK-DRAG-MOTION:CAPS"><code class="literal">GDK_DRAG_MOTION</code></a> and <a class="link" href="gdk3-Events.html#GDK-DROP-START:CAPS"><code class="literal">GDK_DROP_START</code></a>.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventProximity"></a><h3>struct GdkEventProximity</h3>
|
||
<pre class="programlisting">struct GdkEventProximity {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
GdkDevice *device;
|
||
};
|
||
</pre>
|
||
<p>Proximity events are generated when using GDK’s wrapper for the
|
||
XInput extension. The XInput extension is an add-on for standard X
|
||
that allows you to use nonstandard devices such as graphics tablets.
|
||
A proximity event indicates that the stylus has moved in or out of
|
||
contact with the tablet, or perhaps that the user’s finger has moved
|
||
in or out of contact with a touch screen.</p>
|
||
<p>This event type will be used pretty rarely. It only is important for
|
||
XInput aware programs that are drawing their own cursor.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventProximity.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventProximity.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-PROXIMITY-IN:CAPS"><code class="literal">GDK_PROXIMITY_IN</code></a> or <a class="link" href="gdk3-Events.html#GDK-PROXIMITY-OUT:CAPS"><code class="literal">GDK_PROXIMITY_OUT</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventProximity.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventProximity.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventProximity.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *<em class="structfield"><code><a name="GdkEventProximity.device"></a>device</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the master device that the event originated from. Use
|
||
<a class="link" href="gdk3-Events.html#gdk-event-get-source-device" title="gdk_event_get_source_device ()"><code class="function">gdk_event_get_source_device()</code></a> to get the slave device.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventWindowState"></a><h3>struct GdkEventWindowState</h3>
|
||
<pre class="programlisting">struct GdkEventWindowState {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkWindowState changed_mask;
|
||
GdkWindowState new_window_state;
|
||
};
|
||
</pre>
|
||
<p>Generated when the state of a toplevel window changes.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventWindowState.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventWindowState.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-WINDOW-STATE:CAPS"><code class="literal">GDK_WINDOW_STATE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventWindowState.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventWindowState.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkWindowState" title="enum GdkWindowState"><span class="type">GdkWindowState</span></a> <em class="structfield"><code><a name="GdkEventWindowState.changed-mask"></a>changed_mask</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>mask specifying what flags have changed.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkWindowState" title="enum GdkWindowState"><span class="type">GdkWindowState</span></a> <em class="structfield"><code><a name="GdkEventWindowState.new-window-state"></a>new_window_state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new window state, a combination of
|
||
<a class="link" href="gdk3-Event-Structures.html#GdkWindowState" title="enum GdkWindowState"><span class="type">GdkWindowState</span></a> bits.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventSetting"></a><h3>struct GdkEventSetting</h3>
|
||
<pre class="programlisting">struct GdkEventSetting {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkSettingAction action;
|
||
char *name;
|
||
};
|
||
</pre>
|
||
<p>Generated when a setting is modified.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventSetting.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventSetting.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-SETTING:CAPS"><code class="literal">GDK_SETTING</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventSetting.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventSetting.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkSettingAction" title="enum GdkSettingAction"><span class="type">GdkSettingAction</span></a> <em class="structfield"><code><a name="GdkEventSetting.action"></a>action</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>what happened to the setting (<a class="link" href="gdk3-Event-Structures.html#GDK-SETTING-ACTION-NEW:CAPS"><code class="literal">GDK_SETTING_ACTION_NEW</code></a>,
|
||
<a class="link" href="gdk3-Event-Structures.html#GDK-SETTING-ACTION-CHANGED:CAPS"><code class="literal">GDK_SETTING_ACTION_CHANGED</code></a> or <a class="link" href="gdk3-Event-Structures.html#GDK-SETTING-ACTION-DELETED:CAPS"><code class="literal">GDK_SETTING_ACTION_DELETED</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkEventSetting.name"></a>name</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the name of the setting.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventOwnerChange"></a><h3>struct GdkEventOwnerChange</h3>
|
||
<pre class="programlisting">struct GdkEventOwnerChange {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
GdkWindow *owner;
|
||
GdkOwnerChange reason;
|
||
GdkAtom selection;
|
||
guint32 time;
|
||
guint32 selection_time;
|
||
};
|
||
</pre>
|
||
<p>Generated when the owner of a selection changes. On X11, this
|
||
information is only available if the X server supports the XFIXES
|
||
extension.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventOwnerChange.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-OWNER-CHANGE:CAPS"><code class="literal">GDK_OWNER_CHANGE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventOwnerChange.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventOwnerChange.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventOwnerChange.owner"></a>owner</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the new owner of the selection, or <code class="literal">NULL</code> if there is none</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Event-Structures.html#GdkOwnerChange" title="enum GdkOwnerChange"><span class="type">GdkOwnerChange</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.reason"></a>reason</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the reason for the ownership change as a <a class="link" href="gdk3-Event-Structures.html#GdkOwnerChange" title="enum GdkOwnerChange"><span class="type">GdkOwnerChange</span></a> value</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> <em class="structfield"><code><a name="GdkEventOwnerChange.selection"></a>selection</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the atom identifying the selection</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventOwnerChange.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the timestamp of the event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventOwnerChange.selection-time"></a>selection_time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time at which the selection ownership was taken
|
||
over</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: 2.6</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventGrabBroken"></a><h3>struct GdkEventGrabBroken</h3>
|
||
<pre class="programlisting">struct GdkEventGrabBroken {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
gboolean keyboard;
|
||
gboolean implicit;
|
||
GdkWindow *grab_window;
|
||
};
|
||
</pre>
|
||
<p>Generated when a pointer or keyboard grab is broken. On X11, this happens
|
||
when the grab window becomes unviewable (i.e. it or one of its ancestors
|
||
is unmapped), or if the same application grabs the pointer or keyboard
|
||
again. Note that implicit grabs (which are initiated by button presses)
|
||
can also cause <a class="link" href="gdk3-Event-Structures.html#GdkEventGrabBroken" title="struct GdkEventGrabBroken"><span class="type">GdkEventGrabBroken</span></a> events.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventGrabBroken.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventGrabBroken.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-GRAB-BROKEN:CAPS"><code class="literal">GDK_GRAB_BROKEN</code></a>)</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventGrabBroken.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event, i.e. the window
|
||
that previously owned the grab</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventGrabBroken.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventGrabBroken.keyboard"></a>keyboard</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if a keyboard grab was broken, <code class="literal">FALSE</code> if a pointer
|
||
grab was broken</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkEventGrabBroken.implicit"></a>implicit</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the broken grab was implicit</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventGrabBroken.grab-window"></a>grab_window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>If this event is caused by another grab in the same
|
||
application, <em class="parameter"><code>grab_window</code></em>
|
||
contains the new grab window. Otherwise
|
||
<em class="parameter"><code>grab_window</code></em>
|
||
is <code class="literal">NULL</code>.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: 2.8</p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventTouchpadSwipe"></a><h3>struct GdkEventTouchpadSwipe</h3>
|
||
<pre class="programlisting">struct GdkEventTouchpadSwipe {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
gint8 phase;
|
||
gint8 n_fingers;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble dx;
|
||
gdouble dy;
|
||
gdouble x_root, y_root;
|
||
guint state;
|
||
};
|
||
</pre>
|
||
<p>Generated during touchpad swipe gestures.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventTouchpadSwipe.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-TOUCHPAD-SWIPE:CAPS"><code class="literal">GDK_TOUCHPAD_SWIPE</code></a>)</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventTouchpadSwipe.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.phase"></a>phase</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the current phase of the gesture</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The number of fingers triggering the swipe</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The X coordinate of the pointer</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The Y coordinate of the pointer</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.dx"></a>dx</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>Movement delta in the X axis of the swipe focal point</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.dy"></a>dy</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>Movement delta in the Y axis of the swipe focal point</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The X coordinate of the pointer, relative to the
|
||
root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The Y coordinate of the pointer, relative to the
|
||
root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouchpadSwipe.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventTouchpadPinch"></a><h3>struct GdkEventTouchpadPinch</h3>
|
||
<pre class="programlisting">struct GdkEventTouchpadPinch {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
gint8 phase;
|
||
gint8 n_fingers;
|
||
guint32 time;
|
||
gdouble x;
|
||
gdouble y;
|
||
gdouble dx;
|
||
gdouble dy;
|
||
gdouble angle_delta;
|
||
gdouble scale;
|
||
gdouble x_root, y_root;
|
||
guint state;
|
||
};
|
||
</pre>
|
||
<p>Generated during touchpad swipe gestures.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventTouchpadPinch.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventTouchpadPinch.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-TOUCHPAD-PINCH:CAPS"><code class="literal">GDK_TOUCHPAD_PINCH</code></a>)</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventTouchpadPinch.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.phase"></a>phase</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the current phase of the gesture</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.n-fingers"></a>n_fingers</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The number of fingers triggering the pinch</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.x"></a>x</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The X coordinate of the pointer</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.y"></a>y</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The Y coordinate of the pointer</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.dx"></a>dx</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>Movement delta in the X axis of the swipe focal point</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.dy"></a>dy</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>Movement delta in the Y axis of the swipe focal point</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.angle-delta"></a>angle_delta</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The angle change in radians, negative angles
|
||
denote counter-clockwise movements</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.scale"></a>scale</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The current scale, relative to that at the time of
|
||
the corresponding <code class="literal">GDK_TOUCHPAD_GESTURE_PHASE_BEGIN</code> event</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.x-root"></a>x_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The X coordinate of the pointer, relative to the
|
||
root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.y-root"></a>y_root</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The Y coordinate of the pointer, relative to the
|
||
root of the screen.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventTouchpadPinch.state"></a>state</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>a bit-mask representing the state of
|
||
the modifier keys (e.g. Control, Shift and Alt) and the pointer
|
||
buttons. See <a class="link" href="gdk3-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a>. </p></td>
|
||
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkModifierType]</span></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventPadButton"></a><h3>struct GdkEventPadButton</h3>
|
||
<pre class="programlisting">struct GdkEventPadButton {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
guint group;
|
||
guint button;
|
||
guint mode;
|
||
};
|
||
</pre>
|
||
<p>Generated during <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> button presses and releases.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventPadButton.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventPadButton.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-PAD-BUTTON-PRESS:CAPS"><code class="literal">GDK_PAD_BUTTON_PRESS</code></a> or <a class="link" href="gdk3-Events.html#GDK-PAD-BUTTON-RELEASE:CAPS"><code class="literal">GDK_PAD_BUTTON_RELEASE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventPadButton.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadButton.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadButton.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.group"></a>group</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the pad group the button belongs to. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> device
|
||
may have one or more groups containing a set of buttons/rings/strips each.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.button"></a>button</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The pad button that was pressed.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadButton.mode"></a>mode</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The current mode of <em class="parameter"><code>group</code></em>
|
||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||
device may have different current modes.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventPadAxis"></a><h3>struct GdkEventPadAxis</h3>
|
||
<pre class="programlisting">struct GdkEventPadAxis {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
guint group;
|
||
guint index;
|
||
guint mode;
|
||
gdouble value;
|
||
};
|
||
</pre>
|
||
<p>Generated during <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> interaction with tactile sensors.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventPadAxis.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventPadAxis.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-PAD-RING:CAPS"><code class="literal">GDK_PAD_RING</code></a> or <a class="link" href="gdk3-Events.html#GDK-PAD-STRIP:CAPS"><code class="literal">GDK_PAD_STRIP</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventPadAxis.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadAxis.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadAxis.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.group"></a>group</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the pad group the ring/strip belongs to. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||
device may have one or more groups containing a set of buttons/rings/strips
|
||
each.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.index"></a>index</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>number of strip/ring that was interacted. This number is 0-indexed.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadAxis.mode"></a>mode</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The current mode of <em class="parameter"><code>group</code></em>
|
||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||
device may have different current modes.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GdkEventPadAxis.value"></a>value</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The current value for the given axis.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkEventPadGroupMode"></a><h3>struct GdkEventPadGroupMode</h3>
|
||
<pre class="programlisting">struct GdkEventPadGroupMode {
|
||
GdkEventType type;
|
||
GdkWindow *window;
|
||
gint8 send_event;
|
||
guint32 time;
|
||
guint group;
|
||
guint mode;
|
||
};
|
||
</pre>
|
||
<p>Generated during <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> mode switches in a group.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkEventPadGroupMode.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="struct_members_name">
|
||
<col class="struct_members_description">
|
||
<col width="200px" class="struct_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> <em class="structfield"><code><a name="GdkEventPadGroupMode.type"></a>type</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the type of the event (<a class="link" href="gdk3-Events.html#GDK-PAD-GROUP-MODE:CAPS"><code class="literal">GDK_PAD_GROUP_MODE</code></a>).</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *<em class="structfield"><code><a name="GdkEventPadGroupMode.window"></a>window</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the window which received the event.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">gint8</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.send-event"></a>send_event</code></em>;</p></td>
|
||
<td class="struct_member_description"><p><code class="literal">TRUE</code> if the event was sent explicitly.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.time"></a>time</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the time of the event in milliseconds.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.group"></a>group</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>the pad group that is switching mode. A <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||
device may have one or more groups containing a set of buttons/rings/strips
|
||
each.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="GdkEventPadGroupMode.mode"></a>mode</code></em>;</p></td>
|
||
<td class="struct_member_description"><p>The new mode of <em class="parameter"><code>group</code></em>
|
||
. Different groups in a <a class="link" href="GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a>
|
||
device may have different current modes.</p></td>
|
||
<td class="struct_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkScrollDirection"></a><h3>enum GdkScrollDirection</h3>
|
||
<p>Specifies the direction for <a class="link" href="gdk3-Event-Structures.html#GdkEventScroll" title="struct GdkEventScroll"><span class="type">GdkEventScroll</span></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkScrollDirection.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SCROLL-UP:CAPS"></a>GDK_SCROLL_UP</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is scrolled up.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SCROLL-DOWN:CAPS"></a>GDK_SCROLL_DOWN</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is scrolled down.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SCROLL-LEFT:CAPS"></a>GDK_SCROLL_LEFT</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is scrolled to the left.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SCROLL-RIGHT:CAPS"></a>GDK_SCROLL_RIGHT</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is scrolled to the right.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SCROLL-SMOOTH:CAPS"></a>GDK_SCROLL_SMOOTH</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the scrolling is determined by the delta values
|
||
in <a class="link" href="gdk3-Event-Structures.html#GdkEventScroll" title="struct GdkEventScroll"><span class="type">GdkEventScroll</span></a>. See <a class="link" href="gdk3-Events.html#gdk-event-get-scroll-deltas" title="gdk_event_get_scroll_deltas ()"><code class="function">gdk_event_get_scroll_deltas()</code></a>. Since: 3.4</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkVisibilityState"></a><h3>enum GdkVisibilityState</h3>
|
||
<p>Specifies the visiblity status of a window for a <a class="link" href="gdk3-Event-Structures.html#GdkEventVisibility" title="struct GdkEventVisibility"><span class="type">GdkEventVisibility</span></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkVisibilityState.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-VISIBILITY-UNOBSCURED:CAPS"></a>GDK_VISIBILITY_UNOBSCURED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is completely visible.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-VISIBILITY-PARTIAL:CAPS"></a>GDK_VISIBILITY_PARTIAL</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is partially visible.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-VISIBILITY-FULLY-OBSCURED:CAPS"></a>GDK_VISIBILITY_FULLY_OBSCURED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is not visible at all.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkCrossingMode"></a><h3>enum GdkCrossingMode</h3>
|
||
<p>Specifies the crossing mode for <a class="link" href="gdk3-Event-Structures.html#GdkEventCrossing" title="struct GdkEventCrossing"><span class="type">GdkEventCrossing</span></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkCrossingMode.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-NORMAL:CAPS"></a>GDK_CROSSING_NORMAL</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because of pointer motion.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-GRAB:CAPS"></a>GDK_CROSSING_GRAB</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a grab is activated.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-UNGRAB:CAPS"></a>GDK_CROSSING_UNGRAB</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a grab is deactivated.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-GTK-GRAB:CAPS"></a>GDK_CROSSING_GTK_GRAB</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a GTK+ grab is activated.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-GTK-UNGRAB:CAPS"></a>GDK_CROSSING_GTK_UNGRAB</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a GTK+ grab is deactivated.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-STATE-CHANGED:CAPS"></a>GDK_CROSSING_STATE_CHANGED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a GTK+ widget changed
|
||
state (e.g. sensitivity).</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-TOUCH-BEGIN:CAPS"></a>GDK_CROSSING_TOUCH_BEGIN</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a touch sequence has begun,
|
||
this event is synthetic as the pointer might have not left the window.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-TOUCH-END:CAPS"></a>GDK_CROSSING_TOUCH_END</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because a touch sequence has ended,
|
||
this event is synthetic as the pointer might have not left the window.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-CROSSING-DEVICE-SWITCH:CAPS"></a>GDK_CROSSING_DEVICE_SWITCH</p></td>
|
||
<td class="enum_member_description">
|
||
<p>crossing because of a device switch (i.e.
|
||
a mouse taking control of the pointer after a touch device), this event
|
||
is synthetic as the pointer didn’t leave the window.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkNotifyType"></a><h3>enum GdkNotifyType</h3>
|
||
<p>Specifies the kind of crossing for <a class="link" href="gdk3-Event-Structures.html#GdkEventCrossing" title="struct GdkEventCrossing"><span class="type">GdkEventCrossing</span></a>.</p>
|
||
<p>See the X11 protocol specification of LeaveNotify for
|
||
full details of crossing event generation.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkNotifyType.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-ANCESTOR:CAPS"></a>GDK_NOTIFY_ANCESTOR</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is entered from an ancestor or
|
||
left towards an ancestor.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-VIRTUAL:CAPS"></a>GDK_NOTIFY_VIRTUAL</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the pointer moves between an ancestor and an
|
||
inferior of the window.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-INFERIOR:CAPS"></a>GDK_NOTIFY_INFERIOR</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is entered from an inferior or
|
||
left towards an inferior.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-NONLINEAR:CAPS"></a>GDK_NOTIFY_NONLINEAR</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is entered from or left towards
|
||
a window which is neither an ancestor nor an inferior.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-NONLINEAR-VIRTUAL:CAPS"></a>GDK_NOTIFY_NONLINEAR_VIRTUAL</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the pointer moves between two windows
|
||
which are not ancestors of each other and the window is part of
|
||
the ancestor chain between one of these windows and their least
|
||
common ancestor.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-NOTIFY-UNKNOWN:CAPS"></a>GDK_NOTIFY_UNKNOWN</p></td>
|
||
<td class="enum_member_description">
|
||
<p>an unknown type of enter/leave event occurred.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkPropertyState"></a><h3>enum GdkPropertyState</h3>
|
||
<p>Specifies the type of a property change for a <a class="link" href="gdk3-Event-Structures.html#GdkEventProperty" title="struct GdkEventProperty"><span class="type">GdkEventProperty</span></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkPropertyState.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-PROPERTY-NEW-VALUE:CAPS"></a>GDK_PROPERTY_NEW_VALUE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the property value was changed.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-PROPERTY-DELETE:CAPS"></a>GDK_PROPERTY_DELETE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the property was deleted.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkWindowState"></a><h3>enum GdkWindowState</h3>
|
||
<p>Specifies the state of a toplevel window.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkWindowState.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-WITHDRAWN:CAPS"></a>GDK_WINDOW_STATE_WITHDRAWN</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is not shown.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-ICONIFIED:CAPS"></a>GDK_WINDOW_STATE_ICONIFIED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is minimized.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-MAXIMIZED:CAPS"></a>GDK_WINDOW_STATE_MAXIMIZED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is maximized.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-STICKY:CAPS"></a>GDK_WINDOW_STATE_STICKY</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is sticky.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-FULLSCREEN:CAPS"></a>GDK_WINDOW_STATE_FULLSCREEN</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is maximized without
|
||
decorations.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-ABOVE:CAPS"></a>GDK_WINDOW_STATE_ABOVE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is kept above other windows.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-BELOW:CAPS"></a>GDK_WINDOW_STATE_BELOW</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is kept below other windows.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-FOCUSED:CAPS"></a>GDK_WINDOW_STATE_FOCUSED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is presented as focused (with active decorations).</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-TILED:CAPS"></a>GDK_WINDOW_STATE_TILED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window is in a tiled state, Since 3.10. Since 3.22.23, this
|
||
is deprecated in favor of per-edge information.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-TOP-TILED:CAPS"></a>GDK_WINDOW_STATE_TOP_TILED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the top edge is tiled, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-TOP-RESIZABLE:CAPS"></a>GDK_WINDOW_STATE_TOP_RESIZABLE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the top edge is resizable, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-RIGHT-TILED:CAPS"></a>GDK_WINDOW_STATE_RIGHT_TILED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the right edge is tiled, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-RIGHT-RESIZABLE:CAPS"></a>GDK_WINDOW_STATE_RIGHT_RESIZABLE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the right edge is resizable, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-BOTTOM-TILED:CAPS"></a>GDK_WINDOW_STATE_BOTTOM_TILED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the bottom edge is tiled, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-BOTTOM-RESIZABLE:CAPS"></a>GDK_WINDOW_STATE_BOTTOM_RESIZABLE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the bottom edge is resizable, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-LEFT-TILED:CAPS"></a>GDK_WINDOW_STATE_LEFT_TILED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the left edge is tiled, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-WINDOW-STATE-LEFT-RESIZABLE:CAPS"></a>GDK_WINDOW_STATE_LEFT_RESIZABLE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>whether the left edge is resizable, Since 3.22.23</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkSettingAction"></a><h3>enum GdkSettingAction</h3>
|
||
<p>Specifies the kind of modification applied to a setting in a
|
||
<a class="link" href="gdk3-Event-Structures.html#GdkEventSetting" title="struct GdkEventSetting"><span class="type">GdkEventSetting</span></a>.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkSettingAction.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SETTING-ACTION-NEW:CAPS"></a>GDK_SETTING_ACTION_NEW</p></td>
|
||
<td class="enum_member_description">
|
||
<p>a setting was added.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SETTING-ACTION-CHANGED:CAPS"></a>GDK_SETTING_ACTION_CHANGED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>a setting was changed.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-SETTING-ACTION-DELETED:CAPS"></a>GDK_SETTING_ACTION_DELETED</p></td>
|
||
<td class="enum_member_description">
|
||
<p>a setting was deleted.</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="refsect2">
|
||
<a name="GdkOwnerChange"></a><h3>enum GdkOwnerChange</h3>
|
||
<p>Specifies why a selection ownership was changed.</p>
|
||
<div class="refsect3">
|
||
<a name="GdkOwnerChange.members"></a><h4>Members</h4>
|
||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||
<colgroup>
|
||
<col width="300px" class="enum_members_name">
|
||
<col class="enum_members_description">
|
||
<col width="200px" class="enum_members_annotations">
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-OWNER-CHANGE-NEW-OWNER:CAPS"></a>GDK_OWNER_CHANGE_NEW_OWNER</p></td>
|
||
<td class="enum_member_description">
|
||
<p>some other app claimed the ownership</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-OWNER-CHANGE-DESTROY:CAPS"></a>GDK_OWNER_CHANGE_DESTROY</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the window was destroyed</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="enum_member_name"><p><a name="GDK-OWNER-CHANGE-CLOSE:CAPS"></a>GDK_OWNER_CHANGE_CLOSE</p></td>
|
||
<td class="enum_member_description">
|
||
<p>the client was closed</p>
|
||
</td>
|
||
<td class="enum_member_annotations"> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="footer">
|
||
<hr>Generated by GTK-Doc V1.29</div>
|
||
</body>
|
||
</html> |