[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Place a view in a separate window



Thanks James,
Figured as much. Made a .rebuildGUI(aWindow) function to do this in my project, which works fine.

-eirik


Den 7. mai. 2009 kl. 16.46 skrev James Harkins:

Probably the only way is to rebuild the views in the new window. I'm
not aware of a way to move a view from one parent to another.

Views are front-end objects and (IMO) should be treated as disposable.
hjh

On Wed, May 6, 2009 at 2:31 PM, Eirik Arthur Blekesaune
<blekesaune@xxxxxxxxx> wrote:
Hi list,

I have a TabbedView containing an array of CompositeViews. I want to be able to take one of the views out of the TabbedView and display in a separate window. On close I want the view contained in the separate window to be
returned to the TabbedView.

I get the view from TabbedView with

tabbedView.views[tabbedView.activeTab]

Now how do I get that view into av new Window, and keeping all children views with its contents, so that it is displayed exactly like it was in the
TabbedView?

I've tried Window.add but that did no work at all. Is this something that is
possible to do in SuperCollider?


--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/