[maemo-developers] markup problem

From: Max Usachev maxusachev at gmail.com
Date: Wed Dec 2 18:07:32 EET 2009
daniel wilms ?????:
> 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
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>   
Thank you for help!


Br, Max Usachev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20091202/44aee261/attachment.htm 
More information about the maemo-developers mailing list