OLD | NEW |
1 /* vim:set et sts=4: */ | 1 /* vim:set et sts=4: */ |
2 /* IBus - The Input Bus | 2 /* IBus - The Input Bus |
3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> | 3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> |
4 * Copyright (C) 2008-2010 Red Hat, Inc. | 4 * Copyright (C) 2008-2010 Red Hat, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 * @see_also: ::trigger | 153 * @see_also: ::trigger |
154 */ | 154 */ |
155 GQuark ibus_hotkey_profile_filter_key_event | 155 GQuark ibus_hotkey_profile_filter_key_event |
156 (IBusHotkeyProfile *profile, | 156 (IBusHotkeyProfile *profile, |
157 guint keyval, | 157 guint keyval, |
158 guint modifiers, | 158 guint modifiers, |
159 guint prev_keyval
, | 159 guint prev_keyval
, |
160 guint prev_modifi
ers, | 160 guint prev_modifi
ers, |
161 gpointer user_data); | 161 gpointer user_data); |
162 | 162 |
| 163 /** |
| 164 * ibus_hotkey_profile_lookup_hotkey: |
| 165 * @profile: An IBusHotkeyProfile. |
| 166 * @keyval: Keycode of the hotkey. |
| 167 * @modifiers: Modifiers of the hotkey. |
| 168 * @returns: The event associated to the hotkey or 0 if the hotkey is not in the |
| 169 * profile. |
| 170 */ |
| 171 GQuark ibus_hotkey_profile_lookup_hotkey |
| 172 (IBusHotkeyProfile *profile, |
| 173 guint keyval, |
| 174 guint modifiers); |
| 175 |
163 G_END_DECLS | 176 G_END_DECLS |
164 #endif | 177 #endif |
165 | |
OLD | NEW |