Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 619989B2C for ; Mon, 3 Oct 2011 13:36:16 +0000 (UTC) Received: (qmail 57789 invoked by uid 500); 3 Oct 2011 13:36:16 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 57755 invoked by uid 500); 3 Oct 2011 13:36:16 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 57747 invoked by uid 99); 3 Oct 2011 13:36:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 13:36:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gk_brown@verizon.net designates 206.46.173.17 as permitted sender) Received: from [206.46.173.17] (HELO vms173017pub.verizon.net) (206.46.173.17) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 13:36:07 +0000 Received: from [172.28.172.201] ([unknown] [12.50.35.2]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LSH00399SFI2M80@vms173017.mailsrvcs.net> for user@pivot.apache.org; Mon, 03 Oct 2011 08:35:43 -0500 (CDT) Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Apple Message framework v1084) Subject: Re: keyboard short-cuts for buttons From: Greg Brown In-reply-to: Date: Mon, 03 Oct 2011 06:35:42 -0700 Content-transfer-encoding: quoted-printable Message-id: References: To: user@pivot.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org There is no built-in way to do this. Easiest thing to do is attach a = keyboard listener to the button's container or another ancestor and = handle the shortcut key presses there. On Oct 2, 2011, at 10:59 PM, Adarsh Y.V wrote: > How can we enable key board short-cuts (if mouse is not present) for = buttons in apache pivot ?? >=20 > Thanks