GtkItemFactory::add_foreign

void add_foreign(GtkWidget accel_widget, full_path, GtkAccelGroup accel_group, keyval, modifiers);

WARNING! This method has been deprecated in PHP-GTK 2 and should NOT be used in newly written code.

This method must be called statically.