colormap = gtk_widget_get_colormap(da_setting_ff);
gtk_widget_realize(da_setting_ff);
pixbuf = gdk_pixbuf_get_from_drawable(NULL,GTK_DRAWABLE(da_setting_ff)->window,colormap,da_setting_ff->allocation.x, da_setting_ff->allocation.y, 0, 0,da_setting_ff->allocation.width, da_setting_ff->allocation.height );
bpp = gdk_pixbuf_get_bits_per_sample(pixbuf);
printf("%d\n", bpp);
gdk_pixbuf_save (pixbuf, "/root/handle.bmp", "bmp",NULL, "100", NULL);
g_object_unref(pixbuf);