• 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: How to add sheets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add sheets?


  • Subject: Re: How to add sheets?
  • From: Thomas Deniau <email@hidden>
  • Date: Wed, 05 Sep 2001 21:04:00 +0200

Le 9/5/01 8:29 PM, Yuhui disait :

> Erm, this is probably a dumb question, but how does one add sheets to a
> window? I'm not talking about the Save sheet, rather a general sheet,
> e.g. for displaying messages. Is there an NSSheet class hidden
> somewhere? This seems to be an undocumented feature.

Have a look at NSApplication's
beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:

Sheets are normal NSPanel's, they don't use a special class.

--
TD: ... mais ceux-ci ne binificieront pas des amiliorations comme
mimoire protigie, ni de la [bonne|mauvaise] interface Aqua.
JV: Noyez la mention inutile ? ;-)
-+- in Guide du Macounet Pervers : Et passez les bugs ` la question! -+-


  • Prev by Date: Re: ObjC API != Cocoa (Re: Another controversial question)
  • Next by Date: Re: -runModalForWindow and drawers
  • Previous by thread: Re: How to add sheets?
  • Next by thread: Dirent?
  • Index(es):
    • Date
    • Thread