xubuntu 21.10 g++gtk4在控制台(终端(编译源代码时给我下一个错误"错误:"gtk_container_add"未在此作用域中声明"。
#include <gtk/gtk.h>
我需要将哪些libs(deb数据包(安装到我的xubuntu 21.10中,哪些文件(libs(需要包含到我的c++源代码中?
GTK4中删除了该特定函数。
参见GTK3->GTK4迁移指南:https://docs.gtk.org/gtk4/migrating-3to4.html#reduce-通用容器api 的使用