// 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);