Add more docs...80% coverage
authorIain Holmes <iain@openedhand.com>
Thu, 22 Jun 2006 14:31:19 +0000 (14:31 +0000)
committerIain Holmes <iain@openedhand.com>
Thu, 22 Jun 2006 14:31:19 +0000 (14:31 +0000)
ChangeLog
clutter/clutter-event.c

index 25dccc9..223933f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-06-22  Iain Holmes  <iain@openedhand.com>
 
+       * clutter/clutter-event.c: Add docs
+
+2006-06-22  Iain Holmes  <iain@openedhand.com>
+
        * clutter/clutter-media.c: Add docs
 
 2006-06-22  Iain Holmes  <iain@openedhand.com>
index 0a060a9..196e080 100644 (file)
@@ -99,30 +99,70 @@ clutter_motion_event_state (ClutterMotionEvent *motionev)
 
 /* keys */
 
+/**
+ * clutter_key_event_time:
+ * @keyev: A #ClutterKeyEvent
+ *
+ * Retrieves the time of @keyev
+ *
+ * Return value: The time that the event occurred 
+ */
 guint32
 clutter_key_event_time (ClutterKeyEvent *keyev)
 {
   return keyev->time;
 }
 
+/**
+ * clutter_key_event_state:
+ * @keyev: A #ClutterKeyEvent
+ *
+ * Retrieves the state of the modifier keys whenever the event occurred
+ *
+ * Return value: A mask representing the state of the modifier keys
+ */
 guint
 clutter_key_event_state (ClutterKeyEvent *keyev)
 {
   return keyev->modifier_state;
 }
 
+/**
+ * clutter_key_event_symbol:
+ * @keyev: A #ClutterKeyEvent
+ *
+ * Retrieves the value of the key that caused @keyev.
+ *
+ * Return value: The keysym representing the key
+ */
 guint
 clutter_key_event_symbol (ClutterKeyEvent *keyev)
 {
   return keyev->keyval;
 }
 
+/**
+ * clutter_key_event_code:
+ * @keyev: A #ClutterKeyEvent
+ *
+ * Retrieves the keycode of the key that caused @keyev.
+ *
+ * Return value: The keycode representing the key
+ */
 guint16
 clutter_key_event_code (ClutterKeyEvent *keyev)
 {
   return keyev->hardware_keycode;
 }
 
+/**
+ * clutter_key_event_unicode:
+ * @keyev: A #ClutterKeyEvent
+ *
+ * Retrieves the unicode value for the key that caused @keyev.
+ *
+ * Return value: The unicode value representing the key
+ */
 guint32
 clutter_key_event_unicode (ClutterKeyEvent *keyev)
 {