CLIM mail archive


gadget-value of scroll-bar?

I have a question concerning scroll-bar gadget class.

I have a scroll-bar pane, and would like to change its gadget-value in the
code.  Is there a way to do this?

The documentation says that (gadget-value scrollbar) will return the value.
This works.  But it also says that you can setf (gadget-value scrollbar),
and this does not seem to be working for me.  I tried it, and it sets a
slot called value in the scroll-bar object, but does not change the result
of a (gadget-value scrollbar) call.  Is there more I need to do besides the
setf call?

This is Clim 2, on Allegro.


Main Index | Thread Index