On Tue, Jan 22, 2008 at 01:48:35AM -0800, iluvlinux wrote: > > hi > i think you didn't get my question > i want to know that if i want to generate my own keypress event > what should the GdkWindow field of event structure should contain? > the toplevel GdkWindow or the widget specific GdkWindow on which > the keypress event actually occurred If you want your key presses to work for the whole window, use top level. > bye mike -- http://en.wikipedia.org/wiki/Top_posting _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list