Revision: 4028 http://geany.svn.sourceforge.net/geany/?rev=4028&view=rev Author: ntrel Date: 2009-07-27 11:06:50 +0000 (Mon, 27 Jul 2009)
Log Message: ----------- Explain parameters for keybindings_set_item().
Modified Paths: -------------- trunk/src/keybindings.c
Modified: trunk/src/keybindings.c =================================================================== --- trunk/src/keybindings.c 2009-07-25 18:58:26 UTC (rev 4027) +++ trunk/src/keybindings.c 2009-07-27 11:06:50 UTC (rev 4028) @@ -114,14 +114,14 @@ * assign the keybinding to the menu_item (apply_kb_accel) otherwise it can't be overridden * by user keybindings anymore */ /** Simple convenience function to fill a GeanyKeyBinding struct item. - * @param group - * @param key_id - * @param callback - * @param key - * @param mod - * @param name - * @param label - * @param menu_item */ + * @param group Group. + * @param key_id Keybinding index for the group. + * @param callback Function to call when activated. + * @param key (Lower case) default key, e.g. @c GDK_j, but usually 0 for unset. + * @param mod Default modifier, e.g. @c GDK_CONTROL_MASK, but usually 0 for unset. + * @param name Not duplicated - use a static string. + * @param label Currently not duplicated - use a static or heap-allocated (e.g. translated) string. + * @param menu_item Optional widget to set an accelerator for, or @c NULL. */ void keybindings_set_item(GeanyKeyGroup *group, gsize key_id, GeanyKeyCallback callback, guint key, GdkModifierType mod, gchar *name, gchar *label, GtkWidget *menu_item)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.