Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

gb.gui.trayicon

Since 3.8

This component allows to display a tray icon inside the system tray.

It supports the following system tray protocols:
The DBus system protocol should be standard, but, alas, KDE and Ubuntu implementations are mutually incompatible! Well done guys.

The component looks at run time which kind of system tray is available, and chooses the accurate protocol.

The gb.dbus component is always loaded to check if the current desktop support the DBus protocol.

Backward-compatibility with the old implementation could not be ensured, because the DBus protocols support less events. So the least common denominator was used, and only three events are raised by the new TrayIcon class: Click, MiddleClick and Scroll.

Author BenoƮt Minisini.
Requires Graphical form management, gb.dbus.

Class Description
TrayIcon This class implements a tray icon.
TrayIcons This class implements a virtual collection of all TrayIcon objects managed by the application.