Re: dragging from NSToolbar
Re: dragging from NSToolbar
- Subject: Re: dragging from NSToolbar
- From: j o a r <email@hidden>
- Date: Thu, 23 Jan 2003 22:26:10 +0100
You can't do that. Regardless of if you use a standard image-type or
view-type toolbar item, the view used to display the toolbar item label
in text-only toolbar display mode is a private class and you cannot
(without some serious runtime hacks) get the mouse events needed to
perform drag operations.
What you might do is subclass NSToolbar in your application to not
allow the text-only display mode, and so always have the drag
capabilities available.
j o a r
On Thursday, Jan 23, 2003, at 18:54 Europe/Stockholm, olivier wrote:
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.
_______________________________________________
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.