kapil sharma wrote: > Hi.. > > How we can write code for X button which is present in > right top of the every window which is used to close > the window.. next to minimize button. http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-delete-event Cheers, -Tristan