Active Topics

 


Reply
Thread Tools
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#1
Widget docs could be found here. Unfortunately I couldn't find any Python bindings for it...
Any info is appreciated.
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#2
Try something like:
Code:
window=hildondesktop.popup_window_new(...)
window.attach_widget(...)
window.popup()
Most of the python modules are pretty similar to their C counterparts, just object oriented. Note, though, that in functions like attach_widget, the first parameter it calls for is the popup window. You should not pass the window to this function. window. takes care of that... ain't python neat?

Oh, but I haven't tested this at all... so I have no idea if it'll work. Good luck!
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 

The Following User Says Thank You to TrueJournals For This Useful Post:
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#3
Originally Posted by TrueJournals View Post
Oh, but I haven't tested this at all... so I have no idea if it'll work. Good luck!
If only it was that easy. That question was born because I hadn't ever dived in maemo-specific coding and there is no hildondesktop.popup_window_new(...) and no hildondesktop.PopupWindow()... Moreover there are no bindings for popup window in current python-hildondesktop at all. So I'm gonna still use gtk.Dialog and wait for those bindings.
 
Reply

Tags
hildondesktop, python


 
Forum Jump


All times are GMT. The time now is 17:38.