help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] Getting a widget to display the whole transcript output


From: ZuLuuuuuu
Subject: [Help-smalltalk] Getting a widget to display the whole transcript output
Date: Fri, 15 Jul 2011 03:41:26 -0700 (PDT)

Hello,

I have a GTK+ widget which has a text view in it. I want to redirect all
Transcript output to this widget. I implemented #nextPutAll: for this widget
and did:

Transcript message: myWidget -> #nextPutAll:.

But whenever an error happens, it still displays the first few words of the
error on the console and the rest of the error on the widget. For example
when I evaluate:

 6 blabla

the console displays:

 Object: 6

and the rest of the error is displayed on my widget's text view:


  error: did not understand #blabla
 MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
 SmallInteger(Object)>>doesNotUnderstand: #blabla (SysExcept.st:1407)
 optimized [] in UndefinedObject>>Doit (a String:2)
 UndefinedObject>>Doit (a String:1)
 [] in Behavior class(Behavior)>>evalString:to: (Behavior.st:428)


Anyone has an idea what the problem might be? I might try to create a sample
code if you have no idea...

-----
Canol Gökel
--
View this message in context: 
http://forum.world.st/Getting-a-widget-to-display-the-whole-transcript-output-tp3669622p3669622.html
Sent from the Gnu mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]