Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GUI/proc on p2p #267

Open
jonnyf opened this issue Jul 24, 2022 · 0 comments
Open

Fix GUI/proc on p2p #267

jonnyf opened this issue Jul 24, 2022 · 0 comments

Comments

@jonnyf
Copy link
Contributor

jonnyf commented Jul 24, 2022

P2P doesn't support GUI procedures such as createCanvas("picture");

Similarly, setting views_list doesn't recreate appropriate windows - because we don't know the type of each view.

Current workaround is to send individual observables such as:

views_list = ["p2pmanager1", "scriptinput2", "picture", "observablelist3"];
view_picture_type = "Canvas2D";
view_scriptinput2_type = "ScriptInput";
view_observablelist3_type = "ObservableList";
view_scriptinput2_tabs = ["PeerExperiment.id(635) > start", "PeerExperiment.id(635) > ACTIVE"];
view_scriptinput2_current = 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant