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


Groups > comp.lang.python > #31435

RE: system tray or notification area in python

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'frameworks': 0.05; 'cents': 0.07; 'completeness': 0.07; 'currency': 0.07; 'option,': 0.07; 'python': 0.09; 'bindings': 0.09; 'pointers': 0.09; 'received:155': 0.09; 'restarted': 0.09; 'gui': 0.11; "wouldn't": 0.11; 'subject:python': 0.11; 'appreciated!': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'easier.': 0.16; 'folks,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'libs': 0.16; 'reasonably': 0.16; 'received:155.180': 0.16; 'received:155.180.234': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.184': 0.16; 'received:169.70.184.72': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:hubcr105.exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'simplest': 0.16; 'subject:area': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wxpython': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'prototype': 0.17; '(or': 0.18; 'app': 0.19; 'community.': 0.20; 'written': 0.20; 'are.': 0.22; 'modifying': 0.22; "i'd": 0.22; 'programming': 0.23; 'received:169.254': 0.24; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'guess': 0.27; 'raw': 0.27; 'accuracy': 0.27; 'appreciated': 0.27; 'leveraging': 0.27; 'options': 0.27; 'this?': 0.28; 'received:169': 0.29; 'source': 0.29; 'probably': 0.29; 'this.': 0.29; "i'm": 0.29; 'daniel': 0.30; 'window': 0.30; 'header:Received:8': 0.30; 'stuff': 0.30; 'code': 0.31; 'implement': 0.32; 'could': 0.32; 'zero': 0.33; 'to:addr:python-list': 0.33; 'sometimes': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'alone': 0.36; 'charset:us-ascii': 0.36; 'two': 0.37; 'why': 0.37; 'rather': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'where': 0.40; 'your': 0.60; 'easy': 0.60; 'stand': 0.61; 'is.': 0.62; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'want,': 0.65; 'subject': 0.66; 'purchase': 0.67; 'sale': 0.76; 'brand': 0.78; 'etc,': 0.84; 'received:169.254.8': 0.84; 'subject:notification': 0.84; 'subject:system': 0.84; 'to:name:python': 0.84; 'killed': 0.91
X-DKIM OpenDKIM Filter v2.1.3 sz1.jpmchase.com q9GLLbAu003507
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1350422497; bh=Er9bDJN7S22u0f0FdMRb5FPztsR4NW1jO5KR06POkds=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=tykqXgqCHSXwM6FlvCvVp7SfYK1SWbF/49L50lUb2vR3kLPsa1dLSWJYmnhdtdatr AW6CUq+LgzIGEUyWf30naoXGg5PCkH2TqgkEr3C5/id3YyobRfXX6JhKnDKweLC5ku +5l6a34m1c4N/l+mfb7IxjL1QrZmaPmb3u/oNsD4=
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com>
To Python <python-list@python.org>
Subject RE: system tray or notification area in python
Thread-Topic system tray or notification area in python
Thread-Index AQHNq95ntEYufUY3iUa6L0dYvQdptZe8bw2Q
Date Tue, 16 Oct 2012 21:21:26 +0000
References <CADjSo4TmVQrr9zCsX5uCCx0iDOP3GJjY7i9rXtCBi9hbbu7a8A@mail.gmail.com> <7585937255598573571@unknownmsgid> <CADjSo4RqR1Jbpuv2-RpW-HcorjBO8DecGum=A1VzS4xeOTrL6Q@mail.gmail.com> <CADjSo4QFU1PGYQchnHxY=f7jjnX1iOye_d+YAF8RRips7gNwRw@mail.gmail.com>
In-Reply-To <CADjSo4QFU1PGYQchnHxY=f7jjnX1iOye_d+YAF8RRips7gNwRw@mail.gmail.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.47]
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-DLP-FWD Yes
Content-Type text/plain; charset="us-ascii"
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.2299.1350422505.27098.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350422505 news.xs4all.nl 6862 [2001:888:2000:d::a6]:37928
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31435

Show key headers only | View raw


Daniel Fetchinson wrote:
> >> 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.
> 
> 

I have used wxpython and thought it was powerful and reasonably easy 
to use. I have no experience with other Python frameworks but I know 
wxpython is a popular choice and I would guess it has an active community.

That is my two cents (or lowest denomination currency for your locale).

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

~Ramit


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

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


Thread

RE: system tray or notification area in python "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-16 21:21 +0000

csiph-web