![]() |
Getting hildonhelp to work in Python?
Over the past few hours I've been, unsuccessfully, trying to integrate hildonhelp into my Python application.
The problem is that I'm unsure what exactly needs to be done to initialize the help system because all the documentation is in C, and I'm not familiar with C at all (hate it). This is the documentation I've found: http://maemo.org/api_refs/4.1/libhil...og-help-enable http://maemo.org/maemo_release_docum...00000000000000 This is my not-yet-working example: Code:
def help_test_function(self, widget, data=None): Problem is, I don't even know what a valid osso.Context arguement is. If I put None there, the dialog will open, but clicking the "?" does nothing. Any help greatly appreciated. |
Re: Getting hildonhelp to work in Python?
Osso context refers to registering the app from DBUS, I don't know how it works for python but for transmission, I did things like:
Quote:
osso_initialize ("com.transmissionbt.Transmission", VERSION, FALSE, NULL); ) In python, it's something like: import osso osso.Context('com.whatever.whatever','<version>', False) (Last param is always false - true is depreciated) Sorry if this has confused you even more, I'm only familiar with C and I can't even code in C. |
Re: Getting hildonhelp to work in Python?
Quote:
Code:
osso_context = osso.Context('com.quickclip.Quickclip','.21', False) Thanks a lot qwerty12! Quote:
|
All times are GMT. The time now is 00:59. |
vBulletin® Version 3.8.8