Gtk4 API rename gtk_accel_group_connect gtk_accel_group_connect_key
@infirit
Submitted by Sander Sweers Link to original bug (#782085)
Description
While working on some AccelGroup code in python I found that gtk_accel_group_connect conflicts in the binding with g_signal_connect. So instead of connecting signals AccelGroup.connect connects the keys instead. In PyGtk they actually ran into the same problem and decided to rename it in the bindings [1]
The workaround is easy but it would be nice if we can change this for Gtk4 it breaks API anyway. I was thinking of to rename is to gtk_accel_group_connect_key and gtk_accel_group_connect_key_by_path or something similar. Same rename of course for the related disconnect functions.
Based on some quick discussion on python-hackers [2] opening a bug to request the rename for Gtk4.
[1] http://www.pygtk.org/pygtk2reference/class-gtkaccelgroup.html#method-gtkaccelgroup--connect-group [2] https://mail.gnome.org/archives/python-hackers-list/2017-May/msg00001.html
Version: 3.90.x