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


Groups > comp.lang.python > #31495

Re: system tray or notification area in python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fetchinson@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'url:sourceforge': 0.03; 'calls.': 0.07; 'python': 0.09; 'bindings': 0.09; 'pointers': 0.09; 'wrong,': 0.09; 'gui': 0.11; "wouldn't": 0.11; 'subject:python': 0.11; '"python': 0.16; 'appreciated!': 0.16; 'easier.': 0.16; 'libs': 0.16; 'lot!': 0.16; 'sources,': 0.16; 'subject:area': 0.16; 'certainly': 0.17; '>>>': 0.18; 'app': 0.19; 'python?': 0.20; 'all,': 0.21; 'trying': 0.21; 'do.': 0.21; 'are.': 0.22; "i'd": 0.22; 'cheers,': 0.23; 'programming': 0.23; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'wrote': 0.26; 'guess': 0.27; 'mind.': 0.27; 'message- id:@mail.gmail.com': 0.27; 'options': 0.27; 'this?': 0.28; '>>>>': 0.29; 'succeed': 0.29; 'url:mailman': 0.29; 'source': 0.29; 'usually': 0.30; 'daniel': 0.30; 'ease': 0.30; 'code': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'programming,': 0.33; 'turns': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'christian': 0.34; 'thanks': 0.34; 'from:addr:googlemail.com': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'alone': 0.36; 'does': 0.37; 'level': 0.37; 'uses': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'easier': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'google': 0.39; 'application': 0.40; 'where': 0.40; 'header:Received:5': 0.40; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; 'stand': 0.61; 'first': 0.61; 'close': 0.63; 'life': 0.66; 'brand': 0.78; 'low': 0.83; 'down!': 0.84; 'mistaken': 0.84; 'subject:notification': 0.84; 'subject:system': 0.84; 'to:name:python': 0.84; 'tough': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AOXzRa2Ne3yk4nJxHzbcDJLThMWxXQDZ+omwilR2Y4M=; b=dkhfonmA130bL+blP19EXuIFKQgIr32XsasuIgrnX7l2sUTBZG5kqL+v16IM3oo4ME a7kqBG4yzvrXFVv6JtdWVkQPOXWKHPOnp92wRSFG8+Pty6++HORnDNWW0nL3vEmE5koP 79W4NXL75x4aHK97DJDqpzjv3t15E2wqN6nLtWcaFAmnb4mGdBd1N4afhcqVq4rKiI4A 6Uxqt0fxsLvluz9XOprHpKOiCje3/iYBU9Wgjms6SlU8NnFaqs1AjPB0Ys0a4FFD9DV4 fYjuC2UpcjK50/Rey61PD6m/POtULWJCc1hHufV8V/mt+xqi+SVYt5bOEZ86eI2ieIV8 0FTA==
MIME-Version 1.0
In-Reply-To <k5lone$reg$1@dont-email.me>
References <CADjSo4TmVQrr9zCsX5uCCx0iDOP3GJjY7i9rXtCBi9hbbu7a8A@mail.gmail.com> <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> <k5lone$reg$1@dont-email.me>
Date Wed, 17 Oct 2012 13:49:24 +0200
Subject Re: system tray or notification area in python
From Daniel Fetchinson <fetchinson@googlemail.com>
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2340.1350474568.27098.python-list@python.org> (permalink)
Lines 62
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350474568 news.xs4all.nl 6984 [2001:888:2000:d::a6]:32871
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31495

Show key headers only | View raw


>>>>>> 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.

Great, thanks a lot!

>>> 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.

I guess so :) But it's a good excuse to get familiar with X :)

Cheers,
Daniel


> 	Christian
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>


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

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