Re: Notification or applet?



gtk-app-devel-list-request gnome org wrote:
Send gtk-app-devel-list mailing list submissions to
        gtk-app-devel-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
or, via email, send a message with subject or body 'help' to
        gtk-app-devel-list-request gnome org

You can reach the person managing the list at
        gtk-app-devel-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-app-devel-list digest..."


Today's Topics:

   1. Notification or applet? (Sander Marechal)
   2. Re: How to make a window resize as I want? (jcupitt gmail com)


----------------------------------------------------------------------

Message: 1
Date: Fri, 06 Mar 2009 10:00:17 +0100
From: Sander Marechal <s marechal jejik com>
Subject: Notification or applet?
To: gtk-app-devel-list gnome org
Message-ID: <49B0E621 5010009 jejik com>
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I am working on an application that has a feature in common with
Rythmbox, X-Chat, Pidgin and a few other applications: It should sit in
the system tray when closed/minimized.

I am wondering how I should program this. I know about Gnome applets but
it's not really an applet (like Pidgin and Rhythmbox aren't applets but
full-blown applications). But I have read that the notification area
shouldn't be (ab)used for this either.

You have to use GtkStatusIcon here, in this way your application will not depend on a specific platform.

Also, my application needs to show notification popups every now and again.

So, how should I do this? As an applet? Use the notification area? Some
combination of the two? Is there a third way?

You can use Libnotify to send notification to the daemon notification server, Libnotify makes the notification easy, you could also with it attach your notification to the status icon that you create.

Thanks in advance for any help.
Let me know if you need more details.

Kind regards,

Best Regards,
Ali.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]