unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Toolbars on MacOSX
Date: Wed, 12 May 2004 17:12:51 +0900 (JST)	[thread overview]
Message-ID: <20040512.171251.91443934.mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <DEDF610C-A3BE-11D8-B6A0-00039390AB82@mac.com>

>>>>> On Tue, 11 May 2004 19:48:38 -0700, Steven Tamm <steventamm@mac.com> 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

  parent reply	other threads:[~2004-05-12  8:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04 21:16 Toolbars on MacOSX Piet van Oostrum
2004-05-11  9:49 ` YAMAMOTO Mitsuharu
2004-05-11  9:48   ` Kim F. Storm
2004-05-12  2:48   ` Steven Tamm
2004-05-12  8:07     ` Jason Rumney
2004-05-12  8:44       ` Miles Bader
2004-05-12  8:12     ` YAMAMOTO Mitsuharu [this message]
2004-05-12 14:13       ` Kim F. Storm
2004-05-13  4:33       ` recenter-ratio (was: Re: Toolbars on MacOSX) Juri Linkov
2004-05-13  5:04         ` Miles Bader
2004-05-13  8:02         ` David Kastrup
2004-05-13  8:46         ` Kim F. Storm
2004-05-13  9:58         ` Andreas Schwab
2004-05-22  8:15       ` Toolbars on MacOSX YAMAMOTO Mitsuharu
     [not found]         ` <D73CE7B6-AECF-11D8-A841-00039390AB82@mac.com>
     [not found]           ` <wlzn7rhbmp.wl@church.math.s.chiba-u.ac.jp>
2004-05-30  0:43             ` Toolbars on MacOSX (seem to work) Steven Tamm
2004-06-05 15:53         ` Toolbars on MacOSX Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040512.171251.91443934.mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).