I want to create a non-editable text box with no cursor in wxPython. I want it to get updated in real time depending on the values from the wxSlider.
The box will basically have a quadratic equation whose coefficients should change depending on the value of the slider.
For example , what I want is very similar to this functionality in LabView -
Whenever you change the coefficients in the Numerator and Denominator spin control (instead of spin control I will have a slider) it automatically changes in the transfer function textbox.
So what I want to know is:
- How to create such a text box?
- How to display a fraction like one in the picture in the text box?
- How to update the coefficients of the equation in the text box in real time based on changes done by a slider ( or spin control as shown in figure)