ScrollableMathWindow
Class Name Derived From Styles Signals
ScrollableMathWindow PegWindow FF_NONE
FF_THIN
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
A ScrollableMathWindow contains a MathWindow and allows scrolling using the Peg
horizontal and vertical scrollbars. An example of a MathWindow in a
ScrollableMathWindow follows:
PegRect rr = {0,1,70,50};
CPString math = "lim(1/x,x,0) + lim(1/x,x,0)";
CLinearMathObject lmo = CPString_to_LinearMathObject(math);
ScrollableMathWindow* math0 = new ScrollableMathWindow(rr);
math0->SetScrollMode(WSM_AUTOSCROLL);
math0->GetMathWindow()->SetMathObject(lmo);
AddR(math0);
This produces 2D math in a frame with the PEG scrollbars:
57