RE: system tray or notification area in python

Discussion in 'Python' started by Prasad, Ramit, Oct 16, 2012.

  1. 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 toimplement 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 thesimplest 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 popularchoice 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.



    This email is confidential and subject to important disclaimers and
    conditions including on offers for the purchaseor sale of
    securities, accuracy and completeness of information, viruses,
    confidentiality, legal privilege, and legal entity disclaimers,
    available at
    Prasad, Ramit, Oct 16, 2012
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. balu
    Peter Jausovec
    Dec 18, 2004
  2. Replies:
  3. Daniel Fetchinson

    system tray or notification area in python

    Daniel Fetchinson, Oct 16, 2012, in forum: Python
    Daniel Fetchinson
    Oct 16, 2012
  4. Rodrick Brown
    Rodrick Brown
    Oct 16, 2012
  5. Daniel Fetchinson

    Fwd: system tray or notification area in python

    Daniel Fetchinson, Oct 16, 2012, in forum: Python
    Anssi Saari
    Oct 19, 2012

Share This Page