1、CMakeLists.txt
set(BINARY_NAME "所要修改的项目名称")
set(APPLICATION_ID "com.example.所要修改的项目名称")
2、my_application.cc
if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "所要修改的项目名称");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else {
gtk_window_set_title(window, "所要修改的项目名称");
}