Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31430

Fwd: system tray or notification area in python

References <CADjSo4TmVQrr9zCsX5uCCx0iDOP3GJjY7i9rXtCBi9hbbu7a8A@mail.gmail.com> <7585937255598573571@unknownmsgid> <CADjSo4RqR1Jbpuv2-RpW-HcorjBO8DecGum=A1VzS4xeOTrL6Q@mail.gmail.com>
Date 2012-10-16 22:39 +0200
Subject Fwd: system tray or notification area in python
From Daniel Fetchinson <fetchinson@googlemail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2296.1350420001.27098.python-list@python.org> (permalink)

Show all headers | View raw


>> Hi folks,
>>
>> I'm using a stand alone window manager without gnome or kde or any
>> other de. But I still would like to have a system tray or notification
>> area and so far used stalonetray for this. Stalonetray is written in C
>> and is a GTK application, works all right but sometimes it doesn't.
>> For instance if it is killed and restarted icons don't come back, etc,
>> etc, there are some quirks.
>>
>> So I thought I would write a brand new stand alone system tray or
>> notification area in python. I guess I need to use gtk bindings or
>> some such but don't really know what my options are.
>>
>> Where would I start something like this?
>> Any pointers would be greatly appreciated!
>>
> Why not look at the source code of the current app your using to get
> an idea how that application accomplishes said task?

I actually did that already it's using the C bindings of gtk.
You might ask you I'm not modifying the code in order to achieve what
I want, well, the answer is that I'd much rather prototype something
like this in python than work immediately with gtk from C.

But I have zero experience with gui programming in python. So any
pointers would be much appreciated how to implement a system tray in
python. Gtk is I guess just one option, one could use other stuff from
python but I wouldn't know what the simplest approach is.

Cheers,
Daniel


> You could always use raw X11 libs but leveraging something like Gtk or
> Qt/KDE would probably be much easier.



-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown



-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Fwd: system tray or notification area in python Daniel Fetchinson <fetchinson@googlemail.com> - 2012-10-16 22:39 +0200
  Re: Fwd: system tray or notification area in python Christian Gollwitzer <auriocus@gmx.de> - 2012-10-16 23:56 +0200
    Re: Fwd: system tray or notification area in python Daniel Fetchinson <fetchinson@googlemail.com> - 2012-10-17 09:49 +0200
      Re: Fwd: system tray or notification area in python Christian Gollwitzer <auriocus@gmx.de> - 2012-10-17 10:02 +0200
        Re: system tray or notification area in python Daniel Fetchinson <fetchinson@googlemail.com> - 2012-10-17 13:49 +0200
  Re: Fwd: system tray or notification area in python Anssi Saari <as@sci.fi> - 2012-10-19 14:00 +0300

csiph-web