Re: Weird problem with type hint Dock and configure-event.

2009-04-08 Thread Magicloud Magiclouds
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,

Weird problem with type hint Dock and configure-event.

2009-04-07 Thread Magicloud Magiclouds
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