diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-10-23 21:03:35 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-10-23 21:03:35 +0000 |
commit | 5cc215cddf0bd0e147463f7bb00a03d502aa0724 (patch) | |
tree | 57f53cfd77c9933dbdc74a1a5b131bb8da1e0a8e /gdk/linux-fb | |
parent | 1cdd4cd298965561efc21d235940e687a69deb20 (diff) | |
download | gtk+-5cc215cddf0bd0e147463f7bb00a03d502aa0724.tar.gz |
Remove redundant doc comments.
Diffstat (limited to 'gdk/linux-fb')
-rw-r--r-- | gdk/linux-fb/gdkkeyboard-fb.c | 75 | ||||
-rw-r--r-- | gdk/linux-fb/gdkselection-fb.c | 44 |
2 files changed, 0 insertions, 119 deletions
diff --git a/gdk/linux-fb/gdkkeyboard-fb.c b/gdk/linux-fb/gdkkeyboard-fb.c index 1514a76f6a..e111fbc01e 100644 --- a/gdk/linux-fb/gdkkeyboard-fb.c +++ b/gdk/linux-fb/gdkkeyboard-fb.c @@ -235,27 +235,6 @@ gdk_fb_keyboard_close (void) } -/** - * gdk_keymap_get_entries_for_keyval: - * @keymap: a #GdkKeymap, or %NULL to use the default keymap - * @keyval: a keyval, such as %GDK_a, %GDK_Up, %GDK_Return, etc. - * @keys: return location for an array of #GdkKeymapKey - * @n_keys: return location for number of elements in returned array - * - * Obtains a list of keycode/group/level combinations that will - * generate @keyval. Groups and levels are two kinds of keyboard mode; - * in general, the level determines whether the top or bottom symbol - * on a key is used, and the group determines whether the left or - * right symbol is used. On US keyboards, the shift key changes the - * keyboard level, and there are no groups. A group switch key might - * convert a keyboard between Hebrew to English modes, for example. - * #GdkEventKey contains a %group field that indicates the active - * keyboard group. The level is computed from the modifier mask. - * The returned array should be freed - * with g_free(). - * - * Return value: %TRUE if keys were found and returned - **/ gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap, guint keyval, @@ -273,23 +252,6 @@ gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap, n_keys); } -/** - * gdk_keymap_get_entries_for_keycode: - * @keymap: a #GdkKeymap or %NULL to use the default keymap - * @hardware_keycode: a keycode - * @keys: return location for array of #GdkKeymapKey, or NULL - * @keyvals: return location for array of keyvals, or NULL - * @n_entries: length of @keys and @keyvals - * - * Returns the keyvals bound to @hardware_keycode. - * The Nth #GdkKeymapKey in @keys is bound to the Nth - * keyval in @keyvals. Free the returned arrays with g_free(). - * When a keycode is pressed by the user, the keyval from - * this list of entries is selected by considering the effective - * keyboard group and level. See gdk_keymap_translate_keyboard_state(). - * - * Returns: %TRUE if there were any entries - **/ gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap, guint hardware_keycode, @@ -308,19 +270,6 @@ gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap, } -/** - * gdk_keymap_lookup_key: - * @keymap: a #GdkKeymap or %NULL to use the default keymap - * @key: a #GdkKeymapKey with keycode, group, and level initialized - * - * Looks up the keyval mapped to a keycode/group/level triplet. - * If no keyval is bound to @key, returns 0. For normal user input, - * you want to use gdk_keymap_translate_keyboard_state() instead of - * this function, since the effective group/level may not be - * the same as the current keyboard state. - * - * Return value: a keyval, or 0 if none was mapped to the given @key - **/ guint gdk_keymap_lookup_key (GdkKeymap *keymap, const GdkKeymapKey *key) @@ -333,30 +282,6 @@ gdk_keymap_lookup_key (GdkKeymap *keymap, } -/** - * gdk_keymap_translate_keyboard_state: - * @keymap: a #GdkKeymap, or %NULL to use the default - * @hardware_keycode: a keycode - * @state: a modifier state - * @group: active keyboard group - * @keyval: return location for keyval - * @effective_group: return location for effective group - * @level: return location for level - * @consumed_modifiers: return location for modifiers that were used to determine the group or level - * - * - * Translates the contents of a #GdkEventKey into a keyval, effective - * group, and level. Modifiers that affected the translation and - * are thus unavailable for application use are returned in - * @consumed_modifiers. See gdk_keyval_get_keys() for an explanation of - * groups and levels. The @effective_group is the group that was - * actually used for the translation; some keys such as Enter are not - * affected by the active keyboard group. The @level is derived from - * @state. For convenience, #GdkEventKey already contains the translated - * keyval, so this function isn't as useful as you might think. - * - * Return value: %TRUE if there was a keyval bound to the keycode/state/group - **/ gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap, guint hardware_keycode, diff --git a/gdk/linux-fb/gdkselection-fb.c b/gdk/linux-fb/gdkselection-fb.c index 65c72126c4..2966ebf846 100644 --- a/gdk/linux-fb/gdkselection-fb.c +++ b/gdk/linux-fb/gdkselection-fb.c @@ -263,19 +263,6 @@ void gdk_free_compound_text (guchar *ctext) g_warning ("gdk_free_compound_text() not implemented\n"); } -/** - * gdk_utf8_to_string_target: - * @str: a UTF-8 string - * - * Convert an UTF-8 string into the best possible representation - * as a STRING. The representation of characters not in STRING - * is not specified; it may be as pseudo-escape sequences - * \x{ABCD}, or it may be in some other form of approximation. - * - * Return value: the newly allocated string, or %NULL if the - * conversion failed. (It should not fail for - * any properly formed UTF-8 string.) - **/ gchar * gdk_utf8_to_string_target (const gchar *str) { @@ -283,21 +270,6 @@ gdk_utf8_to_string_target (const gchar *str) return 0; } -/** - * gdk_utf8_to_compound_text_for_display: - * @display: a #GdkDisplay - * @str: a UTF-8 string - * @encoding: location to store resulting encoding - * @format: location to store format of the result - * @ctext: location to store the data of the result - * @length: location to store the length of the data - * stored in @ctext - * - * Convert from UTF-8 to compound text. - * - * Return value: %TRUE if the conversion succeeded, otherwise - * false. - **/ gboolean gdk_utf8_to_compound_text_for_display (GdkDisplay *display, const gchar *str, @@ -380,22 +352,6 @@ make_list (const gchar *text, } -/** - * gdk_text_property_to_utf8_list_for_display: - * @display: a #GdkDisplay - * @encoding: an atom representing the encoding of the text - * @format: the format of the property - * @text: the text to convert - * @length: the length of @text, in bytes - * @list: location to store the list of strings or %NULL. The - * list should be freed with g_strfreev(). - * - * Convert a text property in the giving encoding to - * a list of UTF-8 strings. - * - * Return value: the number of strings in the resulting - * list. - **/ gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display, GdkAtom encoding, |