Prepare for Gtk4: wrappers for gtk_container_add()
Ending the use of GtkBox
child properties, and gtk_box_pack_{start,end}()
, left many calls to gtk_container_add()
. In Gtk4, these are almost all replaced by type-specific functions like gtk_box_append()
and gtk_scrolled_window_set_child()
. This branch implements corresponding type-checking wrappers for gtk_container_add()
, which in the future could easily be replaced by the Gtk4 native functions.
This should make no operational changes.