Add doc-comments.

This commit is contained in:
Daiki Ueno
2010-06-15 08:13:04 +09:00
parent 7582a997e1
commit 146cacfae3
2 changed files with 66 additions and 1 deletions

View File

@ -417,7 +417,9 @@ eek_keyboard_get_keysym_index (EekKeyboard *keyboard,
* @name: name of the section
* @bounds: bounding box of the section
*
* Create an #EekSection instance and attach it to @keyboard.
* Create an #EekSection instance and append it to @keyboard. This
* function is rarely called by application but called by #EekLayout
* implementation.
*/
EekSection *
eek_keyboard_create_section (EekKeyboard *keyboard)
@ -451,6 +453,14 @@ eek_keyboard_realize (EekKeyboard *keyboard)
EEK_KEYBOARD_GET_CLASS(keyboard)->realize (keyboard);
}
/**
* eek_keyboard_find_key_by_keycode:
* @keyboard: an #EekKeyboard
* @keycode: a keycode
*
* Find an #EekKey whose keycode is @keycode.
* Returns: an #EekKey or NULL (if not found)
*/
EekKey *
eek_keyboard_find_key_by_keycode (EekKeyboard *keyboard,
guint keycode)