Cannot reduce size of gtk window programatically
问题 I seem to be facing a problem when resizing a gtk window programatically. The problem is that once I have increased the width and height of the window to 800x600, I cannot seem to reduce it back to its original size of 400x200. Below is the sample code. Has anyone faced such a problem? #include <gtk/gtk.h> static gboolean is_clicked = FALSE; static void Child_window_resize( GtkWidget *widget, GtkWidget *window) { if(!is_clicked) { g_print("Inside If block increase bool value %d\n",is_clicked)