This can be useful for example if you want to inhibit the deletion
of a window. Of course you should not do this as the user expects
a reaction from clicking the close icon of the window...
A persistent window
#include<gtk/gtk.h>
int main (intargc, char **argv) { GtkWidget *win, *but; constchar *text = "Close yourself. I mean it!";
All this function does it to return
true.This can be useful for example if you want to inhibit the deletion of a window. Of course you should not do this as the user expects a reaction from clicking the close icon of the window...
A persistent window