[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Stethoscope in a window




On 7 Jun 2006, at 10:07, chopper chan wrote:

Hello ppl,
Does anybody know how to include a Stethoscope view in a SCWindow? I want to include one in my GUI and I couldn't figure it out, and I think I'v seen some before.
Any tip, please?

Check the Stethoscope helpfile.

At the bottom you find this:


w = SCWindow.new("my own scope", Rect(20, 20, 400, 500));
w.view.decorator = FlowLayout(w.view.bounds);
c = Stethoscope.new(s, view:w.view);
w. c.free }; // don't forget this
w.front;

Good luck
thor