[Scilab-users] GUI programming
farimani
f.s.farimani at gmail.com
Sun Mar 31 22:55:15 CEST 2019
Hello everyone,
First of all Thanks to Nikolay Strelkov
<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=user_nodes&user=496942>
for pointing me to this thread from this post
<http://mailinglists.scilab.org/Scilab-users-A-collection-of-Scilab-GUI-tutorials-tp4039316.html>
I left earlier. Basically I'm trying to collect some of the available Scilab
GUI tutorials here plus proper explanation for the novice users like myself:
https://github.com/Foadsf/ScilabGUItuts
I went through almost all details in this page and here is what I have done:
- contacted openeering and Manolo Venturin
<https://www.linkedin.com/in/manolo-venturin-85933745/?locale=en_US> for
their permission to include their tutorial here
<https://github.com/Foadsf/ScilabGUItuts/tree/master/Examples/Ex013> in
the repository.
- included the codes from cgit.scilab.org yet to be tested and documented
- contacted Varodom Toochinda for this tutorials
<https://scilabdotninja.wordpress.com/scilab-recipe-4-gui-basics/> which
are unfortunately no longer available
- contacted tritytech and Chin Luh Tan
- in reply to
Antoine Monmayrant-2 wrote
> There is a nice trick to get a responsive GUI even if your callback
> functions take some time to execute. The idea is, from within the
> callback function, to first disable the callback function of the
> uicontrol, run the long calculation and then re-enable the callback.
> That way you avoid getting a huge amount of events and callbacks that
> accumulate and lag behind the actions of the user. As an example,
> imagine a slider where the callback function runs a 500ms-long
> calculation and plot the results on a graph. If you don't apply the
> trick described above, sliding the slider can generate 10's of events in
> a fraction of a second and then you have to wait for all the
> calculations and plotting to finish in order to get back to a usable GUI.
I have asked for this feature request
<https://bugzilla.scilab.org/show_bug.cgi?id=16023> to add more
callback-type s, and implemented similar idea here in this example
<https://github.com/Foadsf/ScilabGUItuts/tree/master/Examples/Ex008> .
Hopefully this will receive some support from the community.
Best regards,
Foad
Twitter <https://twitter.com/fsfarimani>
Linkedin <https://www.linkedin.com/in/fsfarimani/>
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list