~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gdk/html/gdk-Events.html

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="reference.html" title="API Reference">
9
9
<link rel="prev" href="gdk-Windows.html" title="Windows">
10
10
<link rel="next" href="gdk-Event-Structures.html" title="Event Structures">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
46
46
#define             <a class="link" href="gdk-Events.html#GDK-PRIORITY-EVENTS:CAPS" title="GDK_PRIORITY_EVENTS">GDK_PRIORITY_EVENTS</a>
47
47
#define             <a class="link" href="gdk-Events.html#GDK-PRIORITY-REDRAW:CAPS" title="GDK_PRIORITY_REDRAW">GDK_PRIORITY_REDRAW</a>
48
48
 
49
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-events-pending" title="gdk_events_pending ()">gdk_events_pending</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
 
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-events-pending" title="gdk_events_pending ()">gdk_events_pending</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
50
50
<a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="returnvalue">GdkEvent</span></a> *          <a class="link" href="gdk-Events.html#gdk-event-peek" title="gdk_event_peek ()">gdk_event_peek</a>                      (<em class="parameter"><code><span class="type">void</span></code></em>);
51
51
<a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="returnvalue">GdkEvent</span></a> *          <a class="link" href="gdk-Events.html#gdk-event-get" title="gdk_event_get ()">gdk_event_get</a>                       (<em class="parameter"><code><span class="type">void</span></code></em>);
52
52
<a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="returnvalue">GdkEvent</span></a> *          <a class="link" href="gdk-Events.html#gdk-event-get-graphics-expose" title="gdk_event_get_graphics_expose ()">gdk_event_get_graphics_expose</a>       (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
54
54
<a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="returnvalue">GdkEvent</span></a> *          <a class="link" href="gdk-Events.html#gdk-event-new" title="gdk_event_new ()">gdk_event_new</a>                       (<em class="parameter"><code><a class="link" href="gdk-Events.html#GdkEventType" title="enum GdkEventType"><span class="type">GdkEventType</span></a> type</code></em>);
55
55
<a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="returnvalue">GdkEvent</span></a> *          <a class="link" href="gdk-Events.html#gdk-event-copy" title="gdk_event_copy ()">gdk_event_copy</a>                      (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
56
56
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-event-free" title="gdk_event_free ()">gdk_event_free</a>                      (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
57
 
<span class="returnvalue">guint32</span>             <a class="link" href="gdk-Events.html#gdk-event-get-time" title="gdk_event_get_time ()">gdk_event_get_time</a>                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
58
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-get-state" title="gdk_event_get_state ()">gdk_event_get_state</a>                 (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             <a class="link" href="gdk-Events.html#gdk-event-get-time" title="gdk_event_get_time ()">gdk_event_get_time</a>                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
 
58
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-get-state" title="gdk_event_get_state ()">gdk_event_get_state</a>                 (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
59
59
                                                         <em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);
60
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-get-axis" title="gdk_event_get_axis ()">gdk_event_get_axis</a>                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-get-axis" title="gdk_event_get_axis ()">gdk_event_get_axis</a>                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="gdk-Input-Devices.html#GdkAxisUse" title="enum GdkAxisUse"><span class="type">GdkAxisUse</span></a> axis_use</code></em>,
62
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);
63
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-get-coords" title="gdk_event_get_coords ()">gdk_event_get_coords</a>                (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
64
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x_win</code></em>,
65
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y_win</code></em>);
66
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-get-root-coords" title="gdk_event_get_root_coords ()">gdk_event_get_root_coords</a>           (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
67
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x_root</code></em>,
68
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y_root</code></em>);
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *value</code></em>);
 
63
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-get-coords" title="gdk_event_get_coords ()">gdk_event_get_coords</a>                (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_win</code></em>,
 
65
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_win</code></em>);
 
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-get-root-coords" title="gdk_event_get_root_coords ()">gdk_event_get_root_coords</a>           (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_root</code></em>,
 
68
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_root</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-event-request-motions" title="gdk_event_request_motions ()">gdk_event_request_motions</a>           (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEventMotion" title="struct GdkEventMotion"><span class="type">GdkEventMotion</span></a> *event</code></em>);
70
70
 
71
71
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-event-handler-set" title="gdk_event_handler_set ()">gdk_event_handler_set</a>               (<em class="parameter"><code><a class="link" href="gdk-Events.html#GdkEventFunc" title="GdkEventFunc ()"><span class="type">GdkEventFunc</span></a> func</code></em>,
72
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
73
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
 
72
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
73
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
74
74
<span class="returnvalue">void</span>                (<a class="link" href="gdk-Events.html#GdkEventFunc" title="GdkEventFunc ()">*GdkEventFunc</a>)                     (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
75
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
75
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
76
76
 
77
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-send-client-message" title="gdk_event_send_client_message ()">gdk_event_send_client_message</a>       (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-send-client-message" title="gdk_event_send_client_message ()">gdk_event_send_client_message</a>       (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
78
78
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> winid</code></em>);
79
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-event-send-client-message-for-display" title="gdk_event_send_client_message_for_display ()">gdk_event_send_client_message_for_display</a>
 
79
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-event-send-client-message-for-display" title="gdk_event_send_client_message_for_display ()">gdk_event_send_client_message_for_display</a>
80
80
                                                        (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
81
81
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
82
82
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> winid</code></em>);
83
83
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-event-send-clientmessage-toall" title="gdk_event_send_clientmessage_toall ()">gdk_event_send_clientmessage_toall</a>  (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-add-client-message-filter" title="gdk_add_client_message_filter ()">gdk_add_client_message_filter</a>       (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> message_type</code></em>,
85
85
                                                         <em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkFilterFunc" title="GdkFilterFunc ()"><span class="type">GdkFilterFunc</span></a> func</code></em>,
86
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
87
87
 
88
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-get-show-events" title="gdk_get_show_events ()">gdk_get_show_events</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
89
 
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-set-show-events" title="gdk_set_show_events ()">gdk_set_show_events</a>                 (<em class="parameter"><code><span class="type">gboolean</span> show_events</code></em>);
 
88
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-get-show-events" title="gdk_get_show_events ()">gdk_get_show_events</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
 
89
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-set-show-events" title="gdk_set_show_events ()">gdk_set_show_events</a>                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_events</code></em>);
90
90
<span class="returnvalue">void</span>                <a class="link" href="gdk-Events.html#gdk-event-set-screen" title="gdk_event_set_screen ()">gdk_event_set_screen</a>                (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
91
91
                                                         <em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);
92
92
<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> *         <a class="link" href="gdk-Events.html#gdk-event-get-screen" title="gdk_event_get_screen ()">gdk_event_get_screen</a>                (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
93
93
 
94
 
<span class="returnvalue">gboolean</span>            <a class="link" href="gdk-Events.html#gdk-setting-get" title="gdk_setting_get ()">gdk_setting_get</a>                     (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
95
 
                                                         <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);
 
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gdk-Events.html#gdk-setting-get" title="gdk_setting_get ()">gdk_setting_get</a>                     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
95
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);
96
96
</pre>
97
97
</div>
98
98
<div class="refsect1">
102
102
</p>
103
103
<p>
104
104
In GTK+ applications the events are handled automatically in
105
 
<code class="function">gtk_main_do_event()</code> and passed on to the appropriate widgets, so these
 
105
<a href="http://library.gnome.org/devel/gtk3/gtk-General.html#gtk-main-do-event"><code class="function">gtk_main_do_event()</code></a> and passed on to the appropriate widgets, so these
106
106
functions are rarely needed. Though some of the fields in the
107
107
<a class="link" href="gdk-Event-Structures.html" title="Event Structures">Event Structures</a> are useful.
108
108
</p>
420
420
spends a lot of time processing the event (updating the display, for example),
421
421
it can lag behind the position of the mouse. When using
422
422
<a class="link" href="gdk-Events.html#GDK-POINTER-MOTION-HINT-MASK:CAPS"><code class="literal">GDK_POINTER_MOTION_HINT_MASK</code></a>, fewer <a class="link" href="gdk-Events.html#GDK-MOTION-NOTIFY:CAPS"><code class="literal">GDK_MOTION_NOTIFY</code></a> events will be sent,
423
 
some of which are marked as a hint (the is_hint member is <code class="literal">TRUE</code>).
 
423
some of which are marked as a hint (the is_hint member is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>).
424
424
To receive more motion events after a motion hint event, the application
425
425
needs to asks for more, by calling <a class="link" href="gdk-Events.html#gdk-event-request-motions" title="gdk_event_request_motions ()"><code class="function">gdk_event_request_motions()</code></a>.
426
426
</p>
556
556
<pre class="programlisting">#define             GDK_PRIORITY_EVENTS</pre>
557
557
<p>
558
558
This is the priority that events from the X server are given in the
559
 
GLib Main Loop.
 
559
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html">GLib Main Loop</a>.
560
560
</p>
561
561
</div>
562
562
<hr>
566
566
</pre>
567
567
<p>
568
568
This is the priority that the idle handler processing window updates
569
 
is given in the GLib Main Loop.
 
569
is given in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html">GLib Main Loop</a>.
570
570
</p>
571
571
</div>
572
572
<hr>
573
573
<div class="refsect2">
574
574
<a name="gdk-events-pending"></a><h3>gdk_events_pending ()</h3>
575
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_events_pending                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
575
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_events_pending                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
576
576
<p>
577
577
Checks if any events are ready to be processed for any display.
578
578
</p>
581
581
<tbody><tr>
582
582
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
583
583
<td>
584
 
<code class="literal">TRUE</code> if any events are pending.</td>
 
584
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any events are pending.</td>
585
585
</tr></tbody>
586
586
</table></div>
587
587
</div>
597
597
<col align="left" valign="top">
598
598
<tbody><tr>
599
599
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
600
 
<td>a copy of the first <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> on some event queue, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no
 
600
<td>a copy of the first <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> on some event queue, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
601
601
events are in any queues. The returned <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed with
602
602
<a class="link" href="gdk-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>.</td>
603
603
</tr></tbody>
616
616
<col align="left" valign="top">
617
617
<tbody><tr>
618
618
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
619
 
<td>the next <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no events
 
619
<td>the next <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> to be processed, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no events
620
620
are pending. The returned <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> should be freed with <a class="link" href="gdk-Events.html#gdk-event-free" title="gdk_event_free ()"><code class="function">gdk_event_free()</code></a>.</td>
621
621
</tr></tbody>
622
622
</table></div>
631
631
</div>
632
632
<p>
633
633
Waits for a GraphicsExpose or NoExpose event from the X server.
634
 
This is used in the <span class="type">GtkText</span> and <span class="type">GtkCList</span> widgets in GTK+ to make sure any
 
634
This is used in the <a href="http://library.gnome.org/devel/gtk3/GtkText.html"><span class="type">GtkText</span></a> and <a href="http://library.gnome.org/devel/gtk3/GtkCList.html"><span class="type">GtkCList</span></a> widgets in GTK+ to make sure any
635
635
GraphicsExpose events are handled before the widget is scrolled.
636
636
</p>
637
637
<div class="variablelist"><table border="0">
643
643
</tr>
644
644
<tr>
645
645
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
646
 
<td>a <a class="link" href="gdk-Event-Structures.html#GdkEventExpose" title="struct GdkEventExpose"><span class="type">GdkEventExpose</span></a> if a GraphicsExpose was received, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if a
 
646
<td>a <a class="link" href="gdk-Event-Structures.html#GdkEventExpose" title="struct GdkEventExpose"><span class="type">GdkEventExpose</span></a> if a GraphicsExpose was received, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if a
647
647
NoExpose event was received.</td>
648
648
</tr>
649
649
</tbody>
656
656
<p>
657
657
Appends a copy of the given event onto the front of the event
658
658
queue for event-&gt;any.window's display, or the default event
659
 
queue if event-&gt;any.window is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. See <a class="link" href="GdkDisplay.html#gdk-display-put-event" title="gdk_display_put_event ()"><code class="function">gdk_display_put_event()</code></a>.
 
659
queue if event-&gt;any.window is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. See <a class="link" href="GdkDisplay.html#gdk-display-put-event" title="gdk_display_put_event ()"><code class="function">gdk_display_put_event()</code></a>.
660
660
</p>
661
661
<div class="variablelist"><table border="0">
662
662
<col align="left" valign="top">
735
735
<hr>
736
736
<div class="refsect2">
737
737
<a name="gdk-event-get-time"></a><h3>gdk_event_get_time ()</h3>
738
 
<pre class="programlisting"><span class="returnvalue">guint32</span>             gdk_event_get_time                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
 
738
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>             gdk_event_get_time                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
739
739
<p>
740
740
Returns the time stamp from <em class="parameter"><code>event</code></em>, if there is one; otherwise
741
 
returns <a class="link" href="gdk-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>. If <em class="parameter"><code>event</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, returns <a class="link" href="gdk-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>.
 
741
returns <a class="link" href="gdk-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>. If <em class="parameter"><code>event</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, returns <a class="link" href="gdk-Events.html#GDK-CURRENT-TIME:CAPS" title="GDK_CURRENT_TIME"><span class="type">GDK_CURRENT_TIME</span></a>.
742
742
</p>
743
743
<div class="variablelist"><table border="0">
744
744
<col align="left" valign="top">
759
759
<hr>
760
760
<div class="refsect2">
761
761
<a name="gdk-event-get-state"></a><h3>gdk_event_get_state ()</h3>
762
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_get_state                 (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
762
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_get_state                 (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
763
763
                                                         <em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkModifierType" title="enum GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
764
764
<p>
765
765
If the event contains a "state" field, puts that field in <em class="parameter"><code>state</code></em>. Otherwise
766
 
stores an empty state (0). Returns <code class="literal">TRUE</code> if there was a state field
767
 
in the event. <em class="parameter"><code>event</code></em> may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, in which case it's treated
 
766
stores an empty state (0). Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a state field
 
767
in the event. <em class="parameter"><code>event</code></em> may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in which case it's treated
768
768
as if the event had no state field.
769
769
</p>
770
770
<div class="variablelist"><table border="0">
782
782
<tr>
783
783
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
784
784
<td>
785
 
<code class="literal">TRUE</code> if there was a state field in the event</td>
 
785
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a state field in the event</td>
786
786
</tr>
787
787
</tbody>
788
788
</table></div>
790
790
<hr>
791
791
<div class="refsect2">
792
792
<a name="gdk-event-get-axis"></a><h3>gdk_event_get_axis ()</h3>
793
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_get_axis                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
793
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_get_axis                  (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
794
794
                                                         <em class="parameter"><code><a class="link" href="gdk-Input-Devices.html#GdkAxisUse" title="enum GdkAxisUse"><span class="type">GdkAxisUse</span></a> axis_use</code></em>,
795
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
 
795
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *value</code></em>);</pre>
796
796
<p>
797
797
Extract the axis value for a particular axis use from
798
798
an event structure.
817
817
<tr>
818
818
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
819
819
<td>
820
 
<code class="literal">TRUE</code> if the specified axis was found, otherwise <code class="literal">FALSE</code>
 
820
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the specified axis was found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
821
821
</td>
822
822
</tr>
823
823
</tbody>
826
826
<hr>
827
827
<div class="refsect2">
828
828
<a name="gdk-event-get-coords"></a><h3>gdk_event_get_coords ()</h3>
829
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_get_coords                (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
830
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x_win</code></em>,
831
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y_win</code></em>);</pre>
 
829
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_get_coords                (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
830
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_win</code></em>,
 
831
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_win</code></em>);</pre>
832
832
<p>
833
833
Extract the event window relative x/y coordinates from an event.
834
834
</p>
853
853
<tr>
854
854
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
855
855
<td>
856
 
<code class="literal">TRUE</code> if the event delivered event window coordinates</td>
 
856
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered event window coordinates</td>
857
857
</tr>
858
858
</tbody>
859
859
</table></div>
861
861
<hr>
862
862
<div class="refsect2">
863
863
<a name="gdk-event-get-root-coords"></a><h3>gdk_event_get_root_coords ()</h3>
864
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_get_root_coords           (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
865
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *x_root</code></em>,
866
 
                                                         <em class="parameter"><code><span class="type">gdouble</span> *y_root</code></em>);</pre>
 
864
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_get_root_coords           (<em class="parameter"><code>const <a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
865
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_root</code></em>,
 
866
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_root</code></em>);</pre>
867
867
<p>
868
868
Extract the root window relative x/y coordinates from an event.
869
869
</p>
888
888
<tr>
889
889
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
890
890
<td>
891
 
<code class="literal">TRUE</code> if the event delivered root window coordinates</td>
 
891
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event delivered root window coordinates</td>
892
892
</tr>
893
893
</tbody>
894
894
</table></div>
946
946
<div class="refsect2">
947
947
<a name="gdk-event-handler-set"></a><h3>gdk_event_handler_set ()</h3>
948
948
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_event_handler_set               (<em class="parameter"><code><a class="link" href="gdk-Events.html#GdkEventFunc" title="GdkEventFunc ()"><span class="type">GdkEventFunc</span></a> func</code></em>,
949
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
950
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
 
949
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
950
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
951
951
<p>
952
952
Sets the function to call to handle all events from GDK.
953
953
</p>
954
954
<p>
955
955
Note that GTK+ uses this to install its own event handler, so it is
956
956
usually not useful for GTK+ applications. (Although an application
957
 
can call this function then call <code class="function">gtk_main_do_event()</code> to pass
 
957
can call this function then call <a href="http://library.gnome.org/devel/gtk3/gtk-General.html#gtk-main-do-event"><code class="function">gtk_main_do_event()</code></a> to pass
958
958
events to GTK+.)
959
959
</p>
960
960
<div class="variablelist"><table border="0">
980
980
<div class="refsect2">
981
981
<a name="GdkEventFunc"></a><h3>GdkEventFunc ()</h3>
982
982
<pre class="programlisting"><span class="returnvalue">void</span>                (*GdkEventFunc)                     (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
983
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
 
983
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
984
984
<p>
985
985
Specifies the type of function passed to <a class="link" href="gdk-Events.html#gdk-event-handler-set" title="gdk_event_handler_set ()"><code class="function">gdk_event_handler_set()</code></a> to handle
986
986
all GDK events.
1003
1003
<hr>
1004
1004
<div class="refsect2">
1005
1005
<a name="gdk-event-send-client-message"></a><h3>gdk_event_send_client_message ()</h3>
1006
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_send_client_message       (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
 
1006
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_send_client_message       (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
1007
1007
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> winid</code></em>);</pre>
1008
1008
<p>
1009
1009
Sends an X ClientMessage event to a given window (which must be
1032
1032
<hr>
1033
1033
<div class="refsect2">
1034
1034
<a name="gdk-event-send-client-message-for-display"></a><h3>gdk_event_send_client_message_for_display ()</h3>
1035
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_event_send_client_message_for_display
 
1035
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_event_send_client_message_for_display
1036
1036
                                                        (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1037
1037
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
1038
1038
                                                         <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> winid</code></em>);</pre>
1096
1096
<a name="gdk-add-client-message-filter"></a><h3>gdk_add_client_message_filter ()</h3>
1097
1097
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_add_client_message_filter       (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> message_type</code></em>,
1098
1098
                                                         <em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkFilterFunc" title="GdkFilterFunc ()"><span class="type">GdkFilterFunc</span></a> func</code></em>,
1099
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
 
1099
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
1100
1100
<p>
1101
1101
Adds a filter to the default display to be called when X ClientMessage events
1102
1102
are received. See <a class="link" href="GdkDisplay.html#gdk-display-add-client-message-filter" title="gdk_display_add_client_message_filter ()"><code class="function">gdk_display_add_client_message_filter()</code></a>.
1124
1124
<hr>
1125
1125
<div class="refsect2">
1126
1126
<a name="gdk-get-show-events"></a><h3>gdk_get_show_events ()</h3>
1127
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_get_show_events                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
1127
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_get_show_events                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1128
1128
<p>
1129
1129
Gets whether event debugging output is enabled.
1130
1130
</p>
1133
1133
<tbody><tr>
1134
1134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1135
1135
<td>
1136
 
<code class="literal">TRUE</code> if event debugging output is enabled.</td>
 
1136
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if event debugging output is enabled.</td>
1137
1137
</tr></tbody>
1138
1138
</table></div>
1139
1139
</div>
1140
1140
<hr>
1141
1141
<div class="refsect2">
1142
1142
<a name="gdk-set-show-events"></a><h3>gdk_set_show_events ()</h3>
1143
 
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_set_show_events                 (<em class="parameter"><code><span class="type">gboolean</span> show_events</code></em>);</pre>
 
1143
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_set_show_events                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_events</code></em>);</pre>
1144
1144
<p>
1145
1145
Sets whether a trace of received events is output.
1146
1146
Note that GTK+ must be compiled with debugging (that is,
1152
1152
<tbody><tr>
1153
1153
<td><p><span class="term"><em class="parameter"><code>show_events</code></em> :</span></p></td>
1154
1154
<td>
1155
 
<code class="literal">TRUE</code> to output event debugging information.</td>
 
1155
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to output event debugging information.</td>
1156
1156
</tr></tbody>
1157
1157
</table></div>
1158
1158
</div>
1215
1215
<hr>
1216
1216
<div class="refsect2">
1217
1217
<a name="gdk-setting-get"></a><h3>gdk_setting_get ()</h3>
1218
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gdk_setting_get                     (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1219
 
                                                         <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
 
1218
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdk_setting_get                     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
1219
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
1220
1220
<p>
1221
1221
Obtains a desktop-wide setting, such as the double-click time,
1222
1222
for the default screen. See <a class="link" href="GdkScreen.html#gdk-screen-get-setting" title="gdk_screen_get_setting ()"><code class="function">gdk_screen_get_setting()</code></a>.
1235
1235
<tr>
1236
1236
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1237
1237
<td>
1238
 
<code class="literal">TRUE</code> if the setting existed and a value was stored
1239
 
in <em class="parameter"><code>value</code></em>, <code class="literal">FALSE</code> otherwise.</td>
 
1238
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the setting existed and a value was stored
 
1239
in <em class="parameter"><code>value</code></em>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1240
1240
</tr>
1241
1241
</tbody>
1242
1242
</table></div>
1261
1261
</div>
1262
1262
<div class="footer">
1263
1263
<hr>
1264
 
          Generated by GTK-Doc V1.17.1</div>
 
1264
          Generated by GTK-Doc V1.17</div>
1265
1265
</body>
1266
1266
</html>
 
 
b'\\ No newline at end of file'