• 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
Font Panel usage question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font Panel usage question


  • Subject: Font Panel usage question
  • From: Joseph Jones <email@hidden>
  • Date: Fri, 7 Mar 2003 21:58:56 -0800

Hi,

I have a question concerning the Font Panel and the Responder CHain in regards to the changeFont selector being called. I have a window with a Tab View on it and 2 tabs. The first tab contains a button that triggers the Font Panel being called. When the font panel displays, and a user interacts with the panel, the changeFont selector on the window controller does not get called. Now, on tab 2, I have another tab view that has a button that does the same thing. However, when the user interacts with the font panel brought up there, then the changeFont selector on my window controller gets called. Now, I thought I had a pretty good grasp on the Responder Chain, but for the life of me I can not figure out what is going on here! Maybe someone on this list can help me clarify this situation.

Now, for some other sideline issues: Why changeFont as being called as part of the responder chain instead of using a passed in selector I do not understand. It seems to me that passing it a selector to call back on would make life SOOO much simpler. Maybe someone here can explain the reason behind this?

As well, are there any tools that allow visibility into the message calling that goes on? I might have been able to figure this out myself if I could just have seen who WAS responding to the changeFont call (if anybody) or to determine where the font panel was sending the first message in the chain.

Thanx,
joe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Cocoa friendly Quicktime APIs?
  • Next by Date: Re: Unicode and NSTextField (newbie question)
  • Previous by thread: Pref panes and NSDocuments
  • Next by thread: Determining if a user's comp has 2 processors
  • Index(es):
    • Date
    • Thread