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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'option,': 0.07; 'python': 0.09; 'bindings': 0.09; 'pointers': 0.09; 'restarted': 0.09; 'gui': 0.11; "wouldn't": 0.11; 'subject:python': 0.11; 'appreciated!': 0.16; 'easier.': 0.16; 'folks,': 0.16; 'libs': 0.16; 'simplest': 0.16; 'subject:area': 0.16; 'instance': 0.17; 'prototype': 0.17; 'app': 0.19; 'written': 0.20; 'are.': 0.22; 'modifying': 0.22; "i'd": 0.22; 'cheers,': 0.23; 'programming': 0.23; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'guess': 0.27; 'raw': 0.27; 'appreciated': 0.27; 'leveraging': 0.27; 'message-id:@mail.gmail.com': 0.27; 'options': 0.27; 'this?': 0.28; 'source': 0.29; 'probably': 0.29; 'this.': 0.29; "i'm": 0.29; 'daniel': 0.30; 'window': 0.30; 'stuff': 0.30; 'code': 0.31; 'implement': 0.32; 'could': 0.32; 'zero': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'from:addr:googlemail.com': 0.35; 'received:209.85.220': 0.35; 'sometimes': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'alone': 0.36; 'why': 0.37; 'rather': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'where': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'stand': 0.61; 'is.': 0.62; 'want,': 0.65; 'brand': 0.78; 'down!': 0.84; 'etc,': 0.84; 'subject:notification': 0.84; 'subject:system': 0.84; 'to:name:python': 0.84; 'killed': 0.91
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=V9oWuKZpbjTnEG8IInMMC12vPSONssVabcsLsd2f2Lo=; b=p0XVFwwjltDLQdtMVbouTp8yneEObwuiRDi6tmhJiNpQ8i1m2ifTHaX15z+wX8/FIA 0xufDrK3BaKIicDvxRAZN79cOhA10DQ8XBV0HyRcjUk83EnDeg7uuXW3+F7d80zdLOyN qcTdc7MAhjjub8ScfOCYNkSbZQFoDixCisbpbmM9TK/e2DJmRNSIbz7ab/grCwNcAffS uRj+Rpz+mfkVUe7/ykNNBOOaKicHDHAfrrEMXIMtVQRYziKuGPwqTbI6kJcH+bHyYMDr nlGdBwvrD/ySY794VOU7GKVu5CwImM+yQWTc0aEniqgQJJK+N6REuj10Ib/khcn22rla FVOw==
MIME-Version 1.0
In-Reply-To <CADjSo4RqR1Jbpuv2-RpW-HcorjBO8DecGum=A1VzS4xeOTrL6Q@mail.gmail.com>
References <CADjSo4TmVQrr9zCsX5uCCx0iDOP3GJjY7i9rXtCBi9hbbu7a8A@mail.gmail.com> <7585937255598573571@unknownmsgid> <CADjSo4RqR1Jbpuv2-RpW-HcorjBO8DecGum=A1VzS4xeOTrL6Q@mail.gmail.com>
Date Tue, 16 Oct 2012 22:39:57 +0200
Subject Fwd: 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.2296.1350420001.27098.python-list@python.org> (permalink)
Lines 45
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350420001 news.xs4all.nl 6917 [2001:888:2000:d::a6]:45625
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31430

Show key headers only | 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