matt
2007-03-13 01:31:25 UTC
hi all,
i have a gui (made with scilab commands figure, uicontrol etc) with which i
handle a plot. This gui has several sliders, some pushbutton and a lot of
text... very simple.
I'd like to be able to run multiple instances of this gui, where each of
them creates a new plot with its default values the first time is called,
and then update its plot with values specified by the user through the
uicontrols.
The point is that all the guis created call the same (shared) callbacks,
e.g. if cb_slider is the callback associate to a slider of the gui, all the
gui (when the user click that slider) call cb_slider and only the current
gui updates its slider!
The same problem with pushbuttons.
But if for the pushbutton i can know the "caller object" through the
variable gcbo, i've found no solutions to know which slider has called the
callback. Any suggestion?
I've read other threads and i've heard that scilab uicontrols and figure
are rather limited. One should use tcl instead. With a gui in pure tcl
could i resolve my problems? (i don't know anything about tcl, but if
necessary i could learn it...)
thanks in advance
matt
i have a gui (made with scilab commands figure, uicontrol etc) with which i
handle a plot. This gui has several sliders, some pushbutton and a lot of
text... very simple.
I'd like to be able to run multiple instances of this gui, where each of
them creates a new plot with its default values the first time is called,
and then update its plot with values specified by the user through the
uicontrols.
The point is that all the guis created call the same (shared) callbacks,
e.g. if cb_slider is the callback associate to a slider of the gui, all the
gui (when the user click that slider) call cb_slider and only the current
gui updates its slider!
The same problem with pushbuttons.
But if for the pushbutton i can know the "caller object" through the
variable gcbo, i've found no solutions to know which slider has called the
callback. Any suggestion?
I've read other threads and i've heard that scilab uicontrols and figure
are rather limited. One should use tcl instead. With a gui in pure tcl
could i resolve my problems? (i don't know anything about tcl, but if
necessary i could learn it...)
thanks in advance
matt