Re: Status icon on Linux

2016-02-21 Thread Mike Wey via Digitalmars-d-learn

On 02/20/2016 06:32 PM, Gerald wrote:

On Saturday, 20 February 2016 at 11:36:11 UTC, Mike Wey wrote:

The documentation states we should use notifications, that means i'll
probably need to add libnotify bindings to GtkD. Though sending
notifications using DBus is also possible.
(https://developer.gnome.org/notification-spec/)

Depending on the use case using notifications might or might not be
useful.


Would the support for libnotify be for those applications not using
gtk.Application since it already supports sending notifications via
sendNotification. I'm using it in Terminix and it works quite well.



A search of the GTK documentation only gave me results form libnotify so 
i missed the GApplication / GNotification functionality.


--
Mike Wey


Re: Status icon on Linux

2016-02-20 Thread Gerald via Digitalmars-d-learn

On Saturday, 20 February 2016 at 11:36:11 UTC, Mike Wey wrote:
The documentation states we should use notifications, that 
means i'll probably need to add libnotify bindings to GtkD. 
Though sending notifications using DBus is also possible. 
(https://developer.gnome.org/notification-spec/)


Depending on the use case using notifications might or might 
not be useful.


Would the support for libnotify be for those applications not 
using gtk.Application since it already supports sending 
notifications via sendNotification. I'm using it in Terminix and 
it works quite well.





Re: Status icon on Linux

2016-02-20 Thread Mike Wey via Digitalmars-d-learn

On 02/20/2016 06:13 AM, Chris Wright wrote:

I want a status icon for a Linux application. gtk.StatusIcon notes that
it's deprecated (and doesn't work on MATE 1.8.2).

What should I be using?



The GTK developers have decided that we don't need no status icon, it 
would presumably mess up there beautiful gnome shell design.


The documentation states we should use notifications, that means i'll 
probably need to add libnotify bindings to GtkD. Though sending 
notifications using DBus is also possible. 
(https://developer.gnome.org/notification-spec/)


Depending on the use case using notifications might or might not be useful.

--
Mike Wey


Status icon on Linux

2016-02-19 Thread Chris Wright via Digitalmars-d-learn
I want a status icon for a Linux application. gtk.StatusIcon notes that 
it's deprecated (and doesn't work on MATE 1.8.2).

What should I be using?