• 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: NSPanel vs. NSFontPanel and font color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel vs. NSFontPanel and font color


  • Subject: Re: NSPanel vs. NSFontPanel and font color
  • From: Erik Buck <email@hidden>
  • Date: Tue, 25 Oct 2005 23:57:10 -0400

Does this help ?

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSPanel.html#//apple_ref/doc/uid/ 20000244-BBCDGFCH

setWorksWhenModal:
- (void)setWorksWhenModal:(BOOL)flag

Controls whether the receiver receives keyboard and mouse events even when some other window is being run modally. If flag is YES, the application object sends events to the receiver even during a modal loop or session; if flag is NO, the receiver gets no events while a modal loop or session is running. See “How Modal Windows Work” for more information on modal windows and panels.
See Also: – worksWhenModal, – runModalForWindow: (NSApplication), – runModalSession: (NSApplication)


worksWhenModal
- (BOOL)worksWhenModal

Returns YES if the receiver is able to receive keyboard and mouse events even when some other window is being run modally, NO otherwise. NSPanels by default return NO, indicating their ineligibility for events during a modal loop or session. See “How Modal Windows Work” for more information on modal windows and panels.
See Also: – setWorksWhenModal:, – runModalForWindow: (NSApplication), – runModalSession: (NSApplication)



_______________________________________________ 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
  • Follow-Ups:
    • Re: NSPanel vs. NSFontPanel and font color
      • From: Tom Harrington <email@hidden>
  • Prev by Date: Re: Can NSBeginAlertSheet call be dismissed?
  • Next by Date: Re: NSPanel vs. NSFontPanel and font color
  • Previous by thread: NSPanel vs. NSFontPanel and font color
  • Next by thread: Re: NSPanel vs. NSFontPanel and font color
  • Index(es):
    • Date
    • Thread