• 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
Drag Font && NSFontPboardType
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: vCard -> loss of Identity
  • Next by Date: Re: Solved: Link & Table Cursors in NSTextView
  • Previous by thread: Re: "bus error" when sending NSImages using distributed objects?
  • Next by thread: NSTableView text editing notifications/delegation vs. attributed string cells?
  • Index(es):
    • Date
    • Thread