Hello friends,

I am a newbie to C programming and GTK.

I want to change the tile of the the GTK top level window from the click of a button.

A form with three buttons each sets different title to the parent window, how to do this.

I had written a bad code with these errors:

Code:
GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWindow'

Gtk-CRITICAL **: IA__gtk_window_set_title: assertion `GTK_IS_WINDOW (window)' failed