Re: Aqua Interface Guidelines & Close Window location ?
Re: Aqua Interface Guidelines & Close Window location ?
- Subject: Re: Aqua Interface Guidelines & Close Window location ?
- From: Rob Rix <email@hidden>
- Date: Thu, 20 Sep 2001 08:25:04 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nope, it's still not that easy. Don't please forgot that those strange
things which were named "dialogues" and were not windows in OS9 _ARE_
windows
now. Therefore, even with a very simple application like TextEdit, the
"Close Window" command is quite reasonable, and DOES NOT belong to the
File
menu, since it _just closes the first responder window_, whatever it is
(like
Find Panel, or Spell Panel). *IF* the window closed _happens to_ contain
a
document, well, it closes document as well.
The important difference here is that the action we performed was still
_closing window_ (which resulted in closing some document too).
With TextEdit, there is no need for Close Document command (which would
belong to File all right). It is needed for more complicated applications,
which could represent a document by more windows. With this, quite
different
command, the opposite would apply: we would _close document_ (which would
result in closing some window(s) too).
Let me put it this way, then: it was my impression that dialogues (which
are now windows) would be implemented without the close widget in the
titlebar. Has this changed?
And in some cases (not all, of course, but some) sheets can be used.
I am not entirely in favour of having "Close Document" and "Close Window"
because I can see it being fairly difficult to "Open Window" for an open
document in an intuitive manner.
And how would you wire it up in IB? Close Document and Close Window would
both go to the First Responder properly. I'm not handy enough with IB and
the AppKit to know the answer: would it be easy and logical for this to
work?
The only time I've wished for a "Close Window" was in IB, where "Close
Document" seems to be implemented. I've hit command-w more than once
trying to close an open window without closing the .nib doc.
- -- Rob
Flying is not difficult. Surviving the landing is difficult.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see
http://www.gnupg.org
iD8DBQE7qeAjnZTWcucI1tgRAozpAJ4x9czjOrC+SZvNgMqkDZLHzcV8fwCgpkCG
PxoC+YwZM8iGg1wRrLRsQQI=
=TXDn
-----END PGP SIGNATURE-----