Date: Thu, 8 Aug 2002 21:47:27 -0700 From-Tims-Fingers: true To: garrigue at kurims.kyoto-u.ac.jp Cc: lablgtk at kaba.or.jp In-reply-to: <20020809123807R.garrigue at kurims.kyoto-u.ac.jp> (message from Jacques Garrigue on Fri, 09 Aug 2002 12:38:07 +0900) Subject: Re: Can't get keypresses from a GMisc.drawing_area References: <20020809033428.1EC147F66 at lobus.fungible.com> <20020809123807R.garrigue at kurims.kyoto-u.ac.jp> Message-Id: <20020809045034.996707F66 at lobus.fungible.com> From: tim at fungible.com (Tim Freeman) From: tim@fungible.com (Tim Freeman) >> Any idea how I can get the following code to print "key pressed!" when >> I press a key over the window? From: Jacques Garrigue >You can only get keypress events on the toplevel window. >i.e. area#misc#toplevel Thanks; that will help much. -- Tim Freeman tim@fungible.com GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78