Hi, thanks for your tutorials,plugin examples and suggestions. now it's fixed,if I use gimp_ui_init instead of gtk_init,I can create a GtkWindow in gimp plugin now. thank you all! :-) Regards, Todong Ma