+/*
+void gdk_drawable_get_size (GdkDrawable *drawable,
+ gint *width,
+ gint *height);
+**/
+
+static void size_allocate_event(GtkWidget *widget, GtkAllocation *allocation, gpointer user_data)
+{
+ gint w, h;
+ gdk_drawable_get_size(gtk_items.window, &w, &h);
+ printf("%dx%d %dx%d\n", allocation->width, allocation->height, w, h);
+}
+