• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Aqua Interface Guidelines & Close Window location ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Aqua Interface Guidelines & Close Window location ?


  • Subject: Re: Aqua Interface Guidelines & Close Window location ?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 20 Sep 2001 15:46:03 +0200

Rob,

>>>>>> Rob Rix (RR) wrote at Thu, 20 Sep 2001 08:25:04 -0400:
RR> Let me put it this way, then: it was my impression that dialogues (which
RR> are now windows) would be implemented without the close widget in the
RR> titlebar.

Only modal ones (which do not allow you to use the application until closed
by some button).

RR> Has this changed?

Yeah, it has. It has changed since you should *NEVER* use a modal panel
unless absolutely necessary. Non-modal panels naturally have closebox to
close them when you want to -- and you can close them also by Cmd-w or
"Window/Close" from menu, whenever they happen to be key windows.

RR> And in some cases (not all, of course, but some) sheets can be used.

Right. We are speaking of windows and panels though here.

RR> I am not entirely in favour of having "Close Document" and "Close Window"
RR> because I can see it being fairly difficult to "Open Window" for an open
RR> document in an intuitive manner.

In a vast majority of applications, there's no "open window". A window is
opened as a sideeffect of other commands, like "open document", "show
inspector", "find", "check spelling", etc...

Each of those windows can be closed though -- either by clicking their close
box, or by using the "Window/Close" menu command (or the key equivalent
Cmd-w) whenever the window happens to be first responder.

RR> And how would you wire it up in IB?
RR> Close Document and Close Window would both go to the First Responder
RR> properly.

Right, but with a different action. Close Window sends the "performClose:"
message, which is interpreted by the first window in the responder chain;
Close Document sends the "closeDocument:" one, which is caught by the first
_document_ in the responder chain.

RR> I'm not handy enough with IB and the AppKit to know the answer:
RR> would it be easy and logical for this to work?

Very easy, very logical -- see above.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


  • Follow-Ups:
    • Re: Aqua Interface Guidelines & Close Window location ?
      • From: Rob Rix <email@hidden>
  • Prev by Date: Autoresize fails in a Scroll View!
  • Next by Date: Re: Aqua Interface Guidelines & Close Window location ?
  • Previous by thread: Re: Aqua Interface Guidelines & Close Window location ?
  • Next by thread: Re: Aqua Interface Guidelines & Close Window location ?
  • Index(es):
    • Date
    • Thread