• 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: Widgets turning white and never unturning white?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Widgets turning white and never unturning white?


  • Subject: Re: Widgets turning white and never unturning white?
  • From: Erik Buck <email@hidden>
  • Date: Thu, 14 Jul 2005 07:00:06 -0700 (PDT)

You seem to have missed the whole point of sheets.  Sheets are window modal but not application modal.  If your program flow could not continue until the sheet was dismissed, nothing else could get done in the application until the sheet was dismissed.

The whole point of the didEndSelector: argument to -beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo: is to provide a selector that will be called when the sheet is closed.  Whatever you want to do after the sheet is closed, do it in the method that handles the message identified by the selector you specify.

Note that while a sheet is visible, the window the sheet is attached to will not receive most events.  The events are consumed by the sheet.  This is what is meant by window modal.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: C string conversions?
  • Next by Date: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • Previous by thread: Re: Widgets turning white and never unturning white?
  • Next by thread: Calling an Automator workflow from Cocoa?
  • Index(es):
    • Date
    • Thread