X-Spam-Check-By: sourceware.org
Message-ID: <11f3a4750512122104v5beb83dcpff759f6506df09df@mail.gmail.com>
Date: Tue, 13 Dec 2005 00:04:45 -0500
From: Lst Recv <listrecv@gmail.com>
To: cygwin@cygwin.com
Subject: Re: System Tray
Cc: listrecv@gmail.com
In-Reply-To: <11f3a4750512121546q6664c58bo1c6ce75492ee46cd@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <11f3a4750512121546q6664c58bo1c6ce75492ee46cd@mail.gmail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jBD54t2W026368

Gary, could you post a few links to some of those libraries?

Yes, that's exactly what I'd like to do.  Why?  It's a great way for
unobtrusive, yet noticeable, notifications.  My immediate goal is to
script a little unit test runner in the background, which constantly
runs, and loads a green or red icon in the tray.

But I think being able to do this from shell scripts would be very,
very useful.  How 'bout an icon that pop ups when an incoming email
has the word "URGENT" in it?  That way, you can avoid disrupting your
flow, and not check your email, and still be informed when an urgent
one comes in.  A few lines of shell script, once we'd have this.

Anyone up to code this?

But, yes, my immediate use is for simple continuous integration / test
driven development.



Gary R. Van Sickle wrote:
There are a few libraries (actually example code, it's not terribly hard -
just hard to do right) to do this, yes.  But I don't quite understand your
question.  It sounds like you want to do something like:

put-an-alert-in-the-system-tray.exe --alert-type=stopsign
--tooltip-text="Emergency!"

Is that right?  I'm kind of missing the point though - what happens if you
click it?  Maybe a "--run-this-app-when-clicked=" param would make something
like this actually useful....

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


