summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-11-28 00:33:17 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-11-28 00:33:17 +0000
commit7cb3f99fc794c2dc8ccc858845e3f2539e713a6c (patch)
tree9a76b00598af309c08f5b7cb7c0105aca0b5ca7a /gdk/gdkevents.c
parent7f26dbf30a497f8b12e660378b8700d8b1bfced6 (diff)
downloadgdk-pixbuf-7cb3f99fc794c2dc8ccc858845e3f2539e713a6c.tar.gz
Document 2.2 API additions.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 4e464906e..48d938f41 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -268,6 +268,8 @@ static GHashTable *event_hash = NULL;
*
* Return value: a newly-allocated #GdkEvent. The returned #GdkEvent
* should be freed with gdk_event_free().
+ *
+ * Since: 2.2
**/
GdkEvent*
gdk_event_new (GdkEventType type)
@@ -828,6 +830,8 @@ gdk_event_get_axis (GdkEvent *event,
* Sets the screen for @event to @screen. The event must
* have been allocated by GTK+, for instance, by
* gdk_event_copy().
+ *
+ * Since: 2.2
**/
void
gdk_event_set_screen (GdkEvent *event,
@@ -847,14 +851,16 @@ gdk_event_set_screen (GdkEvent *event,
* @event: a #GdkEvent
*
* Returns the screen for the event. The screen is
- * typically the screen for event->any.window, but
+ * typically the screen for <literal>event->any.window</literal>, but
* for events such as mouse events, it is the screen
* where the the pointer was when the event occurs -
* that is, the screen which has the root window
- * to which event->motion.x_root and
- * event->motion.y_root are relative.
+ * to which <literal>event->motion.x_root</literal> and
+ * <literal>event->motion.y_root</literal> are relative.
*
* Return value: the screen for the event
+ *
+ * Since: 2.2
**/
GdkScreen *
gdk_event_get_screen (GdkEvent *event)
@@ -1105,6 +1111,8 @@ gdk_synthesize_window_state (GdkWindow *window,
* Sets the double click time (two clicks within this time interval
* count as a double click and result in a #GDK_2BUTTON_PRESS event).
* Applications should NOT set this, it is a global user-configured setting.
+ *
+ * Since: 2.2
**/
void
gdk_display_set_double_click_time (GdkDisplay *display,