I wrote simple traitsui code with one ojbect - red sphere. The thing I want to do is change the origin of the sphere not by putting the number into array in gui but by using a slider. The thing is how to change the array in gui into the slider.
Any help would be great!
from mayavi import mlab
from enthought.traits.api import HasTraits, Instance, Range, Bool, Str, Enum, Array
from enthought.mayavi.tools.mlab_scene_model import MlabSceneModel
from enthought.mayavi.core.ui.mayavi_scene import MayaviScene
from enthought.traits.ui.api import View, Item, Group,HSplit, VSplit, HGroup
from enthought.tvtk.pyface.scene_editor import SceneEditor