📅  最后修改于: 2022-03-11 15:04:42.845000             🧑  作者: Mango
// With "window" a GtkWindow and "text_label" a const char*.
// You can also do GTK_WINDOW(window) if you're using a GtkWidget
// for example.
gtk_window_set_title (window, text_label);