in reply to System tray application

Yes and yes.

ddg://gtk2 systray trayer - Lightweight, GTK2-based systray for UNIX desktop
Gtk2::Window
'skip-pager-hint' (boolean : readable / writable / private) TRUE if the window should not be in the pager. 'skip-taskbar-hint' (boolean : readable / writable / private) TRUE if the window should not be in the task bar.

Win32::SysTray

build-gtk-glib-post.PL ought to still work

Replies are listed 'Best First'.
Re^2: System tray application
by chessgui (Scribe) on Jan 29, 2012 at 18:28 UTC
    Thank you, these are very useful links.

    Win32::SysTray I could put to work:
    use strict; use Win32::SysTray; my $tray = new Win32::SysTray ( 'icon' => '/Icons/Application.ico', 'single' => 1, ) or exit 0; $tray->setMenu ( "> &Test" => sub { print "Hello from the Tray\n"; }, ">-" => 0, "> E&xit" => sub { return -1 }, ); $tray->runApplication;
    Also I have found an example where with Win32::GUI the entire taskbar can be hidden:
    use Win32::GUI; my $taskbar = Win32::GUI::FindWindow("Shell_TrayWnd", ""); Win32::GUI::Hide($taskbar); sleep(3); Win32::GUI::Show($taskbar);
    Since building Gtk2 may be beyond my capabilities on the other hand Win32::GUI is already available and seems to have similar capabilities I ask:

    Is it possible by using pure Win32::GUI to switch off the taskbar icon for an app?

    update: build-gtk-glib-post.PL fails:
    Can't open gtk_bundle/lib/pkgconfig/libglade-2.0.pc: No such file or d +irectory. Error GETing http://www.gtk.org/download-windows.html: Not Found at gt +kinst.pl line 113

      I would rather figure out how to compile/deploy Gtk2, than dicker with Win32::GUI

      Oh noes, the url changed, what do now? :p

      http://www.gtk.org/download/win32.php

        After correcting the url:
        C:\strawberry\perl\bin\perl.exe -pi.orig -e s!Requires!#Requires! gtk_ +bundle/lib/pkgconfig/libglade-2.0.pc at gtkinst.pl line 178. Can't open gtk_bundle/lib/pkgconfig/libglade-2.0.pc: No such file or d +irectory. Can't call method "url_abs" on an undefined value at gtkinst.pl line 1 +14.