Assigning callback to the uicontrol object leads to Tcl Error unknown option “-command” on ScicosLabR GUI with tcltk package: tkget() throws error when reading text property: “[tcl] bad option ”get“: must be cget or configure”Tcl Error in Tkinter “Invalid command name”Error configuring: unknown option “-ipadx”How to create callback function of a uicontrol object which calls the handle object
Fishing from underwater domes
Would someone mind just getting me started with my Russian homework?
Is Chuck the Evil Sandwich Making Guy's head actually a sandwich?
How to find better food in airports
Are there consequences for not filing a DMCA (any country)
How does Query decide the order in which the functions are applied?
Function of the separated, individual solar cells on Telstar 1 and 2? Why were they "special"?
How do I get my neighbour to stop disturbing with loud music?
How to have the "Restore Missing Files" function from Nautilus without installing Nautilus?
How would a disabled person earn their living in a medieval-type town?
How can I improve my formal definitions?
Divide Numbers by 0
Using large parts of a research paper
If the government illegally doesn't ask for article 50 extension, can parliament do it instead?
How does the search space affect the speed of an ILP solver?
What is the practical impact of using System.Random which is not cryptographically random?
Should we run PBKDF2 for every plaintext to be protected or should we run PBKDF2 only once?
Blogging in LaTeX
An alternative to "two column" geometry proofs
Datasets of Large Molecules
Cheap oscilloscope showing 16 MHz square wave
Why is Mitch McConnell blocking nominees to the Federal Election Commission?
Turn off Google Chrome's Notification for "Flash Player will no longer be supported after December 2020."
New coworker has strange workplace requirements - how should I deal with them?
Assigning callback to the uicontrol object leads to Tcl Error unknown option “-command” on ScicosLab
R GUI with tcltk package: tkget() throws error when reading text property: “[tcl] bad option ”get“: must be cget or configure”Tcl Error in Tkinter “Invalid command name”Error configuring: unknown option “-ipadx”How to create callback function of a uicontrol object which calls the handle object
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
The code modified from here:
function updateListBox(h)
disp(get(h, "value"))
endfunction
width = 200;
height = 120;
f = figure();
set(f, "position", [0 0 width height]);
h = uicontrol(f, "style", "listbox");
set(h, "position", [0 0 width height]);
set(h, "string", ["apple" "orange" "banana" "berry" "grape"]);
set(h, "callback", "updateListBox");
works perfectly fine on Scilab:
but when ran in ScicosLab it returns this error:
set(h, "callback", "updateListBox");
!--error 999
Tcl Error unknown option "-command" at line .. of exec file
called by : foo.sci") in execstr
instruction called by : clc
I would appreciate if you could help me know what is the problem and how I can solve it.
user-interface scilab
add a comment |
The code modified from here:
function updateListBox(h)
disp(get(h, "value"))
endfunction
width = 200;
height = 120;
f = figure();
set(f, "position", [0 0 width height]);
h = uicontrol(f, "style", "listbox");
set(h, "position", [0 0 width height]);
set(h, "string", ["apple" "orange" "banana" "berry" "grape"]);
set(h, "callback", "updateListBox");
works perfectly fine on Scilab:
but when ran in ScicosLab it returns this error:
set(h, "callback", "updateListBox");
!--error 999
Tcl Error unknown option "-command" at line .. of exec file
called by : foo.sci") in execstr
instruction called by : clc
I would appreciate if you could help me know what is the problem and how I can solve it.
user-interface scilab
1
I think you can post you question here:https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28
add a comment |
The code modified from here:
function updateListBox(h)
disp(get(h, "value"))
endfunction
width = 200;
height = 120;
f = figure();
set(f, "position", [0 0 width height]);
h = uicontrol(f, "style", "listbox");
set(h, "position", [0 0 width height]);
set(h, "string", ["apple" "orange" "banana" "berry" "grape"]);
set(h, "callback", "updateListBox");
works perfectly fine on Scilab:
but when ran in ScicosLab it returns this error:
set(h, "callback", "updateListBox");
!--error 999
Tcl Error unknown option "-command" at line .. of exec file
called by : foo.sci") in execstr
instruction called by : clc
I would appreciate if you could help me know what is the problem and how I can solve it.
user-interface scilab
The code modified from here:
function updateListBox(h)
disp(get(h, "value"))
endfunction
width = 200;
height = 120;
f = figure();
set(f, "position", [0 0 width height]);
h = uicontrol(f, "style", "listbox");
set(h, "position", [0 0 width height]);
set(h, "string", ["apple" "orange" "banana" "berry" "grape"]);
set(h, "callback", "updateListBox");
works perfectly fine on Scilab:
but when ran in ScicosLab it returns this error:
set(h, "callback", "updateListBox");
!--error 999
Tcl Error unknown option "-command" at line .. of exec file
called by : foo.sci") in execstr
instruction called by : clc
I would appreciate if you could help me know what is the problem and how I can solve it.
user-interface scilab
user-interface scilab
edited Mar 28 at 9:00
Foad
asked Mar 28 at 0:55
FoadFoad
2,4264 gold badges18 silver badges43 bronze badges
2,4264 gold badges18 silver badges43 bronze badges
1
I think you can post you question here:https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28
add a comment |
1
I think you can post you question here:https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28
1
1
I think you can post you question here:
https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28
I think you can post you question here:
https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55388629%2fassigning-callback-to-the-uicontrol-object-leads-to-tcl-error-unknown-option-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55388629%2fassigning-callback-to-the-uicontrol-object-leads-to-tcl-error-unknown-option-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I think you can post you question here:
https://groups.google.com/forum/#!forum/tumbi
– Stéphane Mottelet
Mar 28 at 9:28