• 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
dragging from NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dragging from NSToolbar


  • Subject: dragging from NSToolbar
  • From: olivier <email@hidden>
  • Date: Thu, 23 Jan 2003 11:54:19 -0600

i wanted to have some opinions and maybe advice on what i want to do:

I'd like to be able to drag items from the toolbar (not to remove them from there, but to drag a representation of some data).
It will actually represent the file that is edited in the window, I can't rely on the proxy icon at the top of the window as this one is available only when the file is saved and unmodified, and also i need to perform an operation just when the drag begins.

I know it is not the original use of the toolbar, but it seems to me like a reasonable alternative (given that the user might hide the toolbar and similar problem).

Now i'm able to drag the image of the icon from the toolbar, how can i drag the text of the item in case the toolbar is set to text only.

Thanks in advance for any comment.

Olivier
_______________________________________________
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.

  • Follow-Ups:
    • Re: dragging from NSToolbar
      • From: j o a r <email@hidden>
  • Prev by Date: Scrolling problem...
  • Next by Date: Re: Green, Yellow and Red glob window buttons
  • Previous by thread: Re: Scrolling problem...
  • Next by thread: Re: dragging from NSToolbar
  • Index(es):
    • Date
    • Thread