From: Adeline CARNIS Date: Tue, 11 Aug 2015 15:35:28 +0000 (+0200) Subject: Reimann demo: add callback_type property of play, pause and quit buttons. X-Git-Tag: 6.0.0-alpha-2~325 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=2efc24a73f899f204fd745f3e27ed2a0ad9f9d2f Reimann demo: add callback_type property of play, pause and quit buttons. This proprety is set at 10. To test: Demo > Graphics > Animation > Reimann Change-Id: I7d72ece87512452fde96da3162a072f6bd4e5523 --- diff --git a/scilab/modules/graphics/demos/anim/anim8/anim8.sci b/scilab/modules/graphics/demos/anim/anim8/anim8.sci index 8caea99..4c3b8b6 100644 --- a/scilab/modules/graphics/demos/anim/anim8/anim8.sci +++ b/scilab/modules/graphics/demos/anim/anim8/anim8.sci @@ -69,6 +69,7 @@ function demo_riemann() "background" , [0.9 0.9 0.9], .. "Relief" , "groove", .. "callback" , "quit_riemann", .. + "callback_type" , 10, .. "tag" , "pushbutton_bac" .. ); @@ -80,6 +81,7 @@ function demo_riemann() "position" , [ 150 15 100 30 ], .. "background" , [0.9 0.9 0.9], .. "Relief" , "groove", .. + "callback_type" , 10, .. "callback" , "pause_riemann", .. "tag" , "my_pause_button" .. ); @@ -92,6 +94,7 @@ function demo_riemann() "position" , [ 150 15 100 30 ], .. "background" , [0.9 0.9 0.9], .. "callback" , "play_riemann", .. + "callback_type" , 10, .. "Relief" , "groove", .. "visible" , "off", .. "tag" , "my_play_button" ..