I play correspondence chess and I would like a perl application which sits in the background and at regular intervals scans the net to see whether there are games of my turn. I would like it to sink in the system tray and have no taskbar icon. I know there is Gtk2::TrayIcon but this is only for notification (it won't remove the taskbar icon). My questions:

1. Is it theoretically possible to have a perl app with a tray icon but no taskbar icon?

2. Is it even possible to build Gtk2 on Win32? I've tried this earlier but have given up hope. However in the case of an other module which also seemed hopeless (WWW::Mechanize::Firefox) I could make it through manual methods involving 'look' suggested by Anonymous Monk. I've tried my new knowledge on Gtk2 but it still fails:
Package gobject-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gobject-2.0' found at Makefile.PL line 60
I've edited the PKG_CONFIG_PATH environment variable manually to point at gobject-2.0.pc but to no avail.

ps. I would be happy to write this even in C++ and launch the main perl app from there. I've succeeded to write a little C++ app with a system tray icon but to remove the taskbar icon I would need the MFC classes which is included only in the professional version of Visual C++ (costing thousands of dollars).

In reply to System tray application by chessgui

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.