[maemo-developers] markup problem
From: daniel wilms daniel.wilms at nokia.comDate: Wed Dec 2 17:06:11 EET 2009
- Previous message: markup problem
- Next message: markup problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
> To create links you have GtkLinkButton.
But don't forget to set then the callback-function, to tell what the
button should do, like:
gtk.link_button_set_uri_hook(callback)
def callback (button_obj,url):
bus = dbus.SessionBus()
obj =
bus.get_object('com.nokia.osso_browser','/com/nokia/osso_browser')
interface = dbus.Interface(obj, 'com.nokia.osso_browser')
interface.open_new_window(str(url))
Cheers Daniel
- Previous message: markup problem
- Next message: markup problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
