Hello
I would like to present: lib-pyfso-gobject
What is: they are some python binding, to use all the power of
fso-frameworkd without using dbus. It is more a wrapper.
This module permit to have these python gobjects:
Frameworkd()
ODeviced()
OEventsd()
OGpsd()
OGsmd()
ONetworkd()
OPhoned()
OPreferencesd()
OTimed()
OUsaged()
Testing()
and to access the fso-framwork with simple methods like:
# Python style
device = ODeviced()
print device.get_audio().get_info()
Or with this method:
# fso style
device = ODeviced()
print device.GetAudio().GetInfo()
Or to connect an event with:
ODeviced().connect('event-name', my_funct())
It use python reflection methods to generate objects runtime. In this
way it will not be needed to update this package on future version of
fso-framework
I would like to know what do you think about it.
You can download it here:
http://dl.getdropbox.com/u/562269/PyFso/lib-pyfso-gobject.tar.gz
Please to have an idea have a look to test.py, it explain how it run.
Have you a nice day
Michele Renda
Ps. I use GObject base class, for these object. But I think the same
methods can be used for other library.
Someone has any idea to what it will be good to have these binding
ported on? In Paroli which library/widget is used?
_______________________________________________
Smartphones-userland mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland