Thanks guys!
Related question:
I'd like to show progress messages from Unix commands by screen-scraping their output using PetitParser2. Especially Nix prints lots of progress messages that are all mixed in together due to parallel operation. I think that showing each one with UIManager>>inform: would be a nice match i.e. they will flash across the Pharo UI much like they flash across the Unix shell.
Can I create a parser and feed it input one chunk at a time? Or do I need to somehow create a stream object for the parser and let it drive the control?
On 27 March 2018 at 15:32, Tudor Girba tudor@tudorgirba.com wrote:
+1
You should also look at the following utility:
(1 to: 10000000) do: [ :x | ] displayingProgress: [ :x | x asString ]
Doru
On Mar 27, 2018, at 3:07 PM, Johan Fabry Johan@raincode.com wrote:
Yes, I'd say that UIManager is a good starting point to look for all
kinds of dialogs.
-- Johan Fabry, Senior Software Engineer. johan@raincode.com | Email too brief? Here's why!
From: Moose-dev [mailto:moose-dev-bounces@list.inf.unibe.ch] On Behalf
Of Luke Gorrie
Sent: Tuesday, March 27, 2018 2:52 PM To: Moose-related development moose-dev@list.inf.unibe.ch Subject: [Moose-dev] Re: Error dialog?
Thanks for the tip, Johan!
I have just stumbled upon the UIManager class. This looks like finally
the right place to look for ways to show error dialogs, display a "waiting" cursor while work is being done, etc. Is that right or should I be looking somewhere else in the context of GTInspector extensions?
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com www.feenk.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev