You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a slider so I can skim through some images I have. However, it appears that if I use
xcpp::display(img,id, active);
in XOBSERVE the display is not updated. I'm happy to dump my unit test here, but I put it in github, as well as on mybinder.
Expected outcome: Move the slider, and xcpp::display will display an image. Move the slider past 50, and a different image will replace the previous image in the same position as before.
Actual outcome: The image never changes.
What am I doing wrong here?
Cheers,
Mark
The text was updated successfully, but these errors were encountered:
I also tried to get the live access of slider using XOBSERVE. xw::slider<double> slider; slider.display() XOBSERVE(slider, value, [](const auto& s) { std::cout << "Observer: New Slider value: " << s.value << std::endl; });
The above sample code from xwidget docs is not showing any output. Not sure the way which I am using it is right or not.
Please help if you have found any solutions or alternatives.
Hello all,
I'm trying to use a slider so I can skim through some images I have. However, it appears that if I use
xcpp::display(img,id, active);
in
XOBSERVE
the display is not updated. I'm happy to dump my unit test here, but I put it in github, as well as on mybinder.Expected outcome: Move the slider, and xcpp::display will display an image. Move the slider past 50, and a different image will replace the previous image in the same position as before.
Actual outcome: The image never changes.
What am I doing wrong here?
Cheers,
Mark
The text was updated successfully, but these errors were encountered: