Embed the NSFontPanel

Hi, ALL, My understanding is that NSFontPanel is like a font dialog, meaning you have something like this:

(pseudo-code in C++):

[code]
FontDialog dlg();
int result = dlg.ShowModal();
if( result == ID_OK )
{
   dlg.GetSelectedFont();
}
[/code]

My question is - is there a way to embed the font panel inside the Window? Or maybe there is a control exist that let me (user) select a font inside something like a notebook.

My issue is - I need to let the user configure some stuff with the different settings and I have 3 different fonts to let user select. The way I see it is to present a notebook which lets the user go thru the tabs and select all different properties, then click OK.

Or there is a different way to do that in Objective-C/Cocoa?

Any suggestions?

Thank you.

Embed the NSFontPanel
 
 
Q