thanks Also i need to know: does Gdk fills in it with toplevel GdkWindow or widget specific GdkWindow? bye mmassonnet wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Simple-question-tp15014925p15016804.html Sent from the Gtk+ - General mailing list archive at Nabble.com. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list