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: 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" To: Python 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: <7585937255598573571@unknownmsgid> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Daniel Fetchinson wrote:=0D=0A> >> Hi folks,=0D=0A> >>=0D=0A> >> I'm using = a stand alone window manager without gnome or kde or any=0D=0A> >> other de= =2E But I still would like to have a system tray or notification=0D=0A> >> = area and so far used stalonetray for this=2E Stalonetray is written in C=0D= =0A> >> and is a GTK application, works all right but sometimes it doesn't= =2E=0D=0A> >> For instance if it is killed and restarted icons don't come b= ack, etc,=0D=0A> >> etc, there are some quirks=2E=0D=0A> >>=0D=0A> >> So I = thought I would write a brand new stand alone system tray or=0D=0A> >> noti= fication area in python=2E I guess I need to use gtk bindings or=0D=0A> >> = some such but don't really know what my options are=2E=0D=0A> >>=0D=0A> >> = Where would I start something like this?=0D=0A> >> Any pointers would be gr= eatly appreciated!=0D=0A> >>=0D=0A> > Why not look at the source code of th= e current app your using to get=0D=0A> > an idea how that application accom= plishes said task?=0D=0A> =0D=0A> I actually did that already it's using th= e C bindings of gtk=2E=0D=0A> You might ask you I'm not modifying the code = in order to achieve what=0D=0A> I want, well, the answer is that I'd much r= ather prototype something=0D=0A> like this in python than work immediately = with gtk from C=2E=0D=0A> =0D=0A> But I have zero experience with gui progr= amming in python=2E So any=0D=0A> pointers would be much appreciated how to= implement a system tray in=0D=0A> python=2E Gtk is I guess just one option= , one could use other stuff from=0D=0A> python but I wouldn't know what the= simplest approach is=2E=0D=0A> =0D=0A> =0D=0A=0D=0AI have used wxpython an= d thought it was powerful and reasonably easy =0D=0Ato use=2E I have no exp= erience with other Python frameworks but I know =0D=0Awxpython is a popular= choice and I would guess it has an active community=2E=0D=0A=0D=0AThat is = my two cents (or lowest denomination currency for your locale)=2E=0D=0A=0D= =0A> =0D=0A> > You could always use raw X11 libs but leveraging something l= ike Gtk or=0D=0A> > Qt/KDE would probably be much easier=2E=0D=0A> =0D=0A= =0D=0A~Ramit=0D=0A=0D=0A=0D=0AThis email is confidential and subject to imp= ortant disclaimers and=0D=0Aconditions including on offers for the purchase= or sale of=0D=0Asecurities, accuracy and completeness of information, viru= ses,=0D=0Aconfidentiality, legal privilege, and legal entity disclaimers,= =0D=0Aavailable at http://www=2Ejpmorgan=2Ecom/pages/disclosures/email=2E