[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"dockable" windows
From: |
Uli Kusterer |
Subject: |
"dockable" windows |
Date: |
Wed, 04 Feb 2004 02:28:55 +0100 |
User-agent: |
MT-NewsWatcher/3.3b1 (PPC Mac OS X) |
Folks,
recently in that hullabaloo about toolbars, I mentioned the idea of
"dockable" windows. In principle, what I meant was having different
areas of a window that could be "torn out" and be made their own
windows, and re-assembled to the user's liking.
Just to test whether this is possible at all, I sat down with Cocoa and
implemented a first, crude, basic version in xCode. You can find it at
http://www.zathras.de/UKDockableWindow.zip
Basically, it is an implementation of a view class that you can drag
onto the desktop to get a new window, and you can drag it back into a
window to have its own window disappear.
Could any of you GNUsteppers do me a favor and have a look at it and
tell me whether the code I wrote would also work in GNUstep?
If it does, I'll go on and implement a nice positioning algorithm that
makes sure the different panes don't all stack up at 0,0 when dragged
back into a window, add highlighting so the user realized he's about to
drop the view in that other window, etc.
Thanks for any help, and I'd love to hear your feedback on this idea,
-- Uli
http://www.zathras.de
- "dockable" windows,
Uli Kusterer <=
- Message not available