![]() |
Task Nav Panels in Python?
At one point in time (circa '06), it was apparently possible to write task navigator panels in Python. However, search as I may, that one file is the only reference to the practice that I can find anywhere.
1) Does anyone know if it's still possible to do this in OS 2008? 2) If so, does anyone know where to find more documentation? Thanks! :) |
Re: Task Nav Panels in Python?
Ah, I'm guessing that the absence of these bindings also means the task navigator panels aren't going to work just yet. Maybe I'll give Khertan's unofficial package a whirl. :)
|
Re: Task Nav Panels in Python?
You could try with the unofficial packages i ve made. But i ven't tryed myself to make TaskNav :)
But HomeApplet works :) |
Re: Task Nav Panels in Python?
Well, I installed the Khertan bindings (the desktop applets work great, thanks!), but so far I'm getting no love on the task navigator panel.
This is what I tried: /usr/share/applications/hildon-navigator/pythontest.desktop Code:
[Desktop Entry] (taken from sample file above) Code:
import gtk I'm afraid I really have no idea what I'm doing, so I'm not sure how to proceed. Any thoughts? |
Re: Task Nav Panels in Python?
Yay! With the new official desktop bindings, I have written my first task navigator panel in Python. It's just a simple shortcut to launch X Terminal.
/usr/share/applications/hildon-navigator/xterm-launch.desktop Code:
[Desktop Entry] Code:
import gtk hildon-desktop-python-loader_0.0.2-1_armel.deb python2.5-hildondesktop_0.0.2-1_armel.deb (For some reason those wouldn't install for me just by clicking. I had to download them locally and install with dpgk -i.) I love my N810. :) |
Re: Task Nav Panels in Python?
Sweet! A single launcher is certainly more useful (to me) than the non-editable contacts button. Perhaps I should learn enough Python to make a second menu... Thanks for showing the way!
|
Re: Task Nav Panels in Python?
SpiritGeek - do you have an example of making a multi application menu (like the default one)? I'd love to have a menu with just my test apps.
|
Re: Task Nav Panels in Python?
Quote:
I've only just started taking up Python myself. I've done mostly VB/VBScript, PHP, and JavaScript, and coming from that background it's been very easy to learn. There are a couple of quirks (mostly the indentation and data types), but after I acclimated to those it has rapidly become my very favorite language. I highly recommend it for fast, easy, cross-platform development. Happy coding! |
Re: Task Nav Panels in Python?
Quote:
Good luck! |
Re: Task Nav Panels in Python?
Hum ... you give me a idea ... a script menu :)
|
All times are GMT. The time now is 14:27. |
vBulletin® Version 3.8.8