Code simple like this could not work as expected.
#include gtk/gtk.h
#include stdio.h
static void destroy( GtkWidget *widget,
gpointer data )
{
gtk_main_quit ();
}
static gboolean configure (GtkWidget *widget,
GdkEventConfigure *event,
Hi,
Recently, I found that, if I inherit Gtk::Window class, and set the
type hint to dock in initialize, the configure-event could be
triggered correctly. But, if I directly use Gtk::Window class, new it,
set the type hint to dock, then the configure-event would not be
triggered at all.
Why it