Feedback messages to user using Tk

Thanks Mer, I will do. ( :

At the moment I'm leaving the puts in because the shell is also executed along with the gui app and runs behind it. THerefore the user can see the feedback... messy but it works...

Gem

···

-----Original Message-----
From: list-bounce@example.com [mailto:list-bounce@example.com]On Behalf
Of Mer Gilmartin
Sent: 27 September 2006 12:05
To: ruby-talk ML
Subject: Re: Feedback messages to user using Tk...

               *** WARNING ***

This mail has originated outside your organization,
either from an external partner or the Global Internet.
     Keep this in mind if you answer this message.

Cameron, Gemma (UK) wrote:

Basically I'm looking to feedback my program's output to the user in a
GUI (Tk Label) rather than printing to the console (which it currently
does). This information would simply be a string to let the user know
what's going on and maybe even what percentage of the work has been
done. I don't want a command/bound event to drive this - I simply want
to send a message to a method which will update the Tk Label

I actually want to do this too.
Im not on the point yet where i have to implement it, therefore havent
came across anything that explains how to do it.
but please post here if you come up with something.
It would be very useful.
Ill do the same if I stumble across anything.

--
Posted via http://www.ruby-forum.com/\.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

Cameron, Gemma (UK) wrote:

Thanks Mer, I will do. ( :

At the moment I'm leaving the puts in because the shell is also executed
along with the gui app and runs behind it. THerefore the user can see
the feedback... messy but it works...

Gem

Gemma

Wont work for me, there shouldnt been any sign of the shell when the
project is finished.

Still puts works for testing and development mode. But ill need
something better later, and I hate popups. Pointless things in general.

Thanks

Mary

···

--
Posted via http://www.ruby-forum.com/\.