Document gtk_{menu_item,widget}_set_accel_path() as the recommended API.

* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
	gtk_{menu_item,widget}_set_accel_path() as the recommended API.
	(#69244)
This commit is contained in:
Matthias Clasen
2002-03-11 22:07:05 +00:00
parent 0539632bff
commit 57c31b5000
8 changed files with 46 additions and 1 deletions

View File

@ -257,7 +257,10 @@ gtk_item_factory_item_remove_widget (GtkWidget *widget,
* This function can be used to make widgets participate in the accel
* saving/restoring functionality provided by gtk_accel_map_save() and
* gtk_accel_map_load(), even if they haven't been created by an item
* factory.
* factory. The recommended API for this purpose are the functions
* gtk_menu_item_set_accel_path() and gtk_widget_set_accel_path(); don't
* use gtk_item_factory_add_foreign() in new code, since it is likely to
* be removed in the future.
*/
void
gtk_item_factory_add_foreign (GtkWidget *accel_widget,