Zim::GUI::TrayIcon.3pm

Langue: en

Version: 2009-03-16 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Zim::GUI::TrayIcon - TrayIcon widget for zim

DESCRIPTION

This module adds an icon in the system tray for zim that implement ``minimise to tray''. This way you can always have zim running in the background.

The context menu for the tray icon lists all pages in the current history stack.

To use this module you need either Gtk2::StatusIcon (gtk+ >= 2.10) or Gtk2::TrayIcon (can be found on CPAN).

This module supports multiple instances of zim now, but also shows the old behavior when running with ``--no-daemon''. This means that we can run both as a object within a zim instance and as a seperate process serving multiple instances.

EXPORT

None by default.

METHODS

"run()"
If we run as a separate process, this will be called to initalize. Always asssumes Zim::GUI::Daemon to be used.
"new(app =" PARENT)>
Simple constructor.
"toggle_hide_window()"
Hides the main window of zim if it was visible or unhides it if it it was invisible.
"popup_menu(EVENT)"
Show a popup menu. EVENT is optional.

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2005 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO