Drag Font && NSFontPboardType
Drag Font && NSFontPboardType
- Subject: Drag Font && NSFontPboardType
- From: Lorenzo <email@hidden>
- Date: Tue, 28 Feb 2006 18:01:27 +0100
Hi,
I open the Font panel with Command-T and I would like to drag a font name
e.g. "Times" onto my object (which could be an NSView, NSTextField...) and
would like to get that font name. I would like to do the same for size and
style. So I added the NSFontPboardType in the registerForDraggedTypes call.
But it doesn't work. Instead I can quite get colors using NSColorPboardType
and file paths using NSFilenamesPboardType.
Any idea?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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