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

Fabien Bodard gambas.fr at gmail.com
Mon Oct 25 20:32:31 CEST 2021


Or just re writing the notification dbus service :-)

Le lun. 25 oct. 2021 à 17:05, Bruce Steers <bsteers4 at gmail.com> a écrit :

> 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/20211025/a329e30a/attachment.htm>


More information about the User mailing list