[Gambas-user] TrayIcon question

zainudin ahmad author.ilmi at ...626...
Fri Apr 15 02:26:31 CEST 2016


That is from your code, maybe this can help.

- Set property Persistent (Form property) to true (
http://gambaswiki.org/wiki/comp/gb.qt4/window/persistent)
- Use _new() event instead open()
- When close(exit) don't use quit, just set me.persistent = false and
$hTray.Delete()

attach fix project :) , I hope it's work

On Thu, Apr 14, 2016 at 10:29 PM, Gianluigi <bagonergi at ...626...> wrote:

> I can not understand how works TrayIcon.
> Can someone help me.
> Attached small demonstration who gives me these Warnigs:
>
> gbx3: warning: circular references detected:
> gbx3:     1 FMain
> gbx3:     1 DBusStatusIcon
> gbx3:     1 DBusStatusIconMenu
> gbx3:     1 TrayIcon
> gbx3:     4 DBusObject
> gbx3:     1 Picture
> gbx3: warning: 192 allocation(s) non freed.
>
> Regards
> Gianluigi
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyTrayen-0.0.1.tar.gz
Type: application/x-gzip
Size: 13597 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160415/db8d1fcc/attachment.bin>


More information about the User mailing list