[Gambas-user] Creating a balloon pointing at a tray icon

Bruce Steers bsteers4 at gmail.com
Mon Oct 25 17:04:06 CEST 2021


As system tray uses DBus you could use a DBus desktop notification
instead...

DBus["session://org.freedesktop.Notifications"]["/org/freedesktop/Notifications",
"org.freedesktop.Notifications"].Notify("", 0, "", "Hello world!", "This is
the notification body.", Null, Null, 3000)

BruceS


On Mon, 25 Oct 2021 at 11:18, Cristiano Guadagnino <criguada at gmail.com>
wrote:

> Hi Benoit,
> is it possible to create a balloon pointing at a tray icon?
> When I try to do it, I get a message saying "Type not corresponding:
> looking for Control, found TrayIcon" (approximately... I am translating
> from Italian).
> However, looking at the "control" class I see that everything derives from
> "control", except the "menu" class. So TrayIcon should be derived from
> "control" too.
> It it a bug?
>
> Attached you see a screenshot of the message.
>
> Thank you in advance
> Cris
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211025/1ecc03d8/attachment.htm>


More information about the User mailing list