Re: Draggable Tags?
Re: Draggable Tags?
- Subject: Re: Draggable Tags?
- From: Allan Odgaard <email@hidden>
- Date: Sat, 3 Jul 2004 02:16:57 +0200
On 2. Jul 2004, at 7:16, Rachel Blackman wrote:
Now, here's the part that's throwing me for a curve; I want to be able
to drag-and-drop a tab. I want to, in other words, be able to 'tear' a
tab off of one tabset in a window, and either drop it into another
tabbed window, /or/ drop it out in space and have it spawn a new window
with it being the only tabset in it. But I cannot seem to figure out
where I need to start adding support for NSDragging stuff.
[...] Any advice/help/pointers? Thanks!
Adium does this, and rather cool I might add (the window fades into
view when the tab is dragged out of its dock, and fades away when a
window is docked).
It's GPL so you can look at their source -- there also was one guy who
did start to isolate it:
http://www.cocoadev.com/index.pl?SafarisTabBarView
It certainly would be nice with a public tab view gadget for those
programs who benefit from "tabbed documents" a la Safari, despite it
not fitting well into the NSDocument architecture -- I actually need
such gadget myself for a project, and will probably be writing it
myself in 1-2 months if nothing suitable turns up (and make it LGPL or
similar :) )!
_______________________________________________
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.