From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Toolbars on MacOSX Date: Wed, 12 May 2004 17:12:51 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040512.171251.91443934.mituharu@math.s.chiba-u.ac.jp> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1084350543 24868 80.91.224.253 (12 May 2004 08:29:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 08:29:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 10:28:54 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNp6k-00008o-00 for ; Wed, 12 May 2004 10:28:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNp6k-0001JB-00 for ; Wed, 12 May 2004 10:28:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNoy4-0002GZ-PI for emacs-devel@quimby.gnus.org; Wed, 12 May 2004 04:19:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNoxC-0002FZ-Ck for emacs-devel@gnu.org; Wed, 12 May 2004 04:19:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNowf-00029e-Ol for emacs-devel@gnu.org; Wed, 12 May 2004 04:19:01 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNorZ-0001J3-Ph for emacs-devel@gnu.org; Wed, 12 May 2004 04:13:14 -0400 Original-Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 293071A63A9; Wed, 12 May 2004 17:13:09 +0900 (JST) Original-To: steventamm@mac.com In-Reply-To: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23224 >>>>> On Tue, 11 May 2004 19:48:38 -0700, Steven Tamm said: > I've checked in the XPM patch and enabled tool-bar-mode by default. Thanks. It seems all TABs in the image.c patch are converted into spaces. I can send you a diff to fix that if you need. > I've played around with it for a while now, and it appears to have > the same behaviour as the X and NT GUIs. Actually, behaviour involving dragging is slightly different from that in others. Namely, holding a mouse button on one toolbar button followed by releasing it on another one activates the command bound to the latter button. That is because the current event handling code does not make use of dpyinfo->grabbed. I'm thinking about adding a tool-bar control button on the title bar. http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGWindows/chapter_16_section_3.html#//apple_ref/doc/uid/20000961/BABIFCFJ (Figure 13-8) I'd like to associate some (lisp-level) input event to the button, and then bind a command that toggle the status of the toolbar. If such a feature is acceptable, what should the input event look like? 1. [toolbar-control] 2. [toolbar toolbar-control] 3. [toolbar control] 4. others > The only major "hole" is the fact that tool-tips aren't supported > with Carbon, yet. In fact, tooltips might be the only "hole" in > Carbon Emacs? I've always had this idea that implementing tool-tips > natively might be easier than porting over the w32 code (which > creates a small highly-customized frame)... any thoughts? The window creation/deletion part for tool-tips is already posted to another list: http://mail.gnu.org/archive/html/emacs-pretest-bug/2004-04/msg00321.html I'm currently working for its event handling part, which is almost ready. But it still has tiny problems and the scroll bar handling is temporarily disabled now, so maybe I need another week to post the patch. I'm also working for context-aware mouse pointer shapes such as I-beam or hand cursor, though it may be a minor "hole". YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp