Index
2011-06-08 11:51 – Jamie Adams : [dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app
2011-06-08 12:15 – Paul McNett : Re: [dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app
2011-06-08 12:33 – Jacek Kałucki : Re: [dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app
Back to top
[dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app

Author: Jamie Adams

Posted: 2011-06-08 11:51:50   Link

Hello,

Still a bit of a newbie to all the stuff I'm playing with here, so

forgive any obvious errors. I found this nice little code sample to

create an indicator applet in Python for Ubuntu's Indicator area

(basically equivalent to the system tray in Windows-land).

https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators#Python+version

The code is simple enough and I've been able to play around with it and

make it do some fairly useful stuff, and was thinking this would be a

nice addition to my Dabo app (basically have the indicator connect to a

running instance of the app, or start it if it hadn't already), then

open specific Windows, and possibly display some relevant data from the

Dabo app.

Now the code sample uses PyGTK, not wxPython, and certainly not Dabo,

which is sort of to be expected. However, mixing the two just seems a

bit wrong. It seems-- in my limited understanding-- like it should be

possible, since I'm not using both toolkits in the same window, or

anything, just creating a GTK menu that activates wxWidgets windows. Is

this possible? Is this sane? Is there a better way to accomplish,

using only wxWidgets, and possibly maintaining the lovely

cross-platform-ness of Dabo?

I realize this is out of the depth of a newbie like myself, but

sometimes it works better to learn doing a difficult project you care

about than a simple project you don't, if you know what I mean.

Jamie

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/1307548310.14436.17.camel@jamie-desktop

©2011 Jamie Adams
Back to top
Re: [dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app

Author: Paul McNett

Posted: 2011-06-08 12:15:21   Link

On 6/8/11 8:51 AM, Jamie Adams wrote:

> I realize this is out of the depth of a newbie like myself, but

> sometimes it works better to learn doing a difficult project you care

> about than a simple project you don't, if you know what I mean.

I know exactly what you mean, and it is really nice to meet people that feel this way

because we are rare! Welcome to Dabo and please keep writing messages telling us of

your successes and failures.

I'm going to need to figure out the cross-platform solution to your question soon, so

I for one would really appreciate whatever you find out.

I'd start looking in wxPython: somebody has likely solved this problem already - or

close to it - and we could start there. Then we could wrap that in Dabo and the next

newbie would have other difficult problems to solve, but not this particular one.

That's how Dabo and everything in the open-source world was built: one step at a time

by many people with different perspectives and experience levels.

Paul

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4DEFA019.5060005@ulmcnett.com

©2011 Paul McNett
Back to top
Re: [dabo-users] Ubuntu 'Indicator' system tray integration for Dabo app

Author: Jacek Kałucki

Posted: 2011-06-08 12:33:48   Link

Użytkownik Jamie Adams napisał:

> Hello,

>

> Still a bit of a newbie to all the stuff I'm playing with here, so

> forgive any obvious errors. I found this nice little code sample to

> create an indicator applet in Python for Ubuntu's Indicator area

> (basically equivalent to the system tray in Windows-land).

>

> https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators#Python+version

>

Hi.

I'm afraid that Dabo doesn't implement such control but wx does.

You probably should play with wx.TaskBarIcon control.

Documentation says that it should work for GNOME >= 2,

but I never tried this, just use wx demos to check if it works.

Or, I guess it's related with your sanity question - you have to be

a desperate to follow that way, write your indicator with PyGTK and

application core in wx, then use third party library to connect

each other (sockets, XMPP?).

--

Regards

Jacek Kałucki

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4DEFA46C.1050700@rz.onet.pl

©2011 Jacek Kałucki