![]() |
Python/gtk/hildon: zoom buttons
Anyone have any ideas on how to access the N900's zoom buttons using python (without Qt, but with hildon and gtk). I have this far only found ways to do it in C/C++...
Help greatly appreciated :) |
Re: Python/gtk/hildon: zoom buttons
See http://talk.maemo.org/showthread.php...t=headset+dbus
In short: bus = dbus.SystemBus() headset = bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/devices/platform_retu_headset_logicaldev_input') headset_iface = dbus.Interface(headset, dbus_interface='org.freedesktop.Hal.Device') headset_iface.connect_to_signal("Condition", handler) http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Porting_Existing_GTK%2B_Application_to_Maemo_5 "Enabling volume/zoom keys" |
Re: Python/gtk/hildon: zoom buttons
Code:
import gtk |
All times are GMT. The time now is 14:39. |
vBulletin® Version 3.8.8