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


Groups > comp.lang.python > #31484

Re: Fwd: system tray or notification area in python

From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python
Subject Re: Fwd: system tray or notification area in python
Date 2012-10-17 10:02 +0200
Organization A noiseless patient Spider
Message-ID <k5lone$reg$1@dont-email.me> (permalink)
References (1 earlier) <7585937255598573571@unknownmsgid> <CADjSo4RqR1Jbpuv2-RpW-HcorjBO8DecGum=A1VzS4xeOTrL6Q@mail.gmail.com> <mailman.2296.1350420001.27098.python-list@python.org> <k5kl6n$ia1$1@dont-email.me> <mailman.2332.1350460151.27098.python-list@python.org>

Show all headers | View raw


Am 17.10.12 09:49, schrieb Daniel Fetchinson:
>>>>> 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.
>>
>> I think you are mistaken - if its this one:
>> 	http://stalonetray.sourceforge.net/
>
> Yes, that's it.
>
>> I had a quick look into the sources, it does not use gtk at all, it uses
>> low level X11 calls. Programming in this way is very tedious.
>
> Right, but nobody wrote Xlib bindings for python?

Erm, Google is your friend: "python xlib" turns up

	http://python-xlib.sourceforge.net/

as well as

	http://plwm.sourceforge.net/

which is pretty close to what you are trying to do.

>> Don't take it wrong, but when you write that you have no experience with
>> GUI programming, I'd start another projet first - I think you will have
>> a tough way to succeed with this project.
>
> I certainly wouldn't start with Xlib in C, but if python bindings
> would be available that would make life much easier.
>

Everything is easier in python:) because usually python libs are 
designed with OO and ease of use in mind. Beware that this will be much 
tougher than using gtk&friends.

	Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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