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

Cristiano Guadagnino criguada at gmail.com
Tue Oct 26 12:10:12 CEST 2021


Thank you Bruce!!
This saved my day ;-)

Cris
[image: cloudHQ] <https://www.free-email-tracker.com> Powered by
cloudHQ <https://www.free-email-tracker.com>

Il giorno lun 25 ott 2021 alle ore 17:05 Bruce Steers <bsteers4 at gmail.com>
ha scritto:

> 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 ]----
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211026/f264ce2e/attachment-0001.htm>


More information about the User mailing list