example, I run this code on sugar 0.82, on terminal, when i press the link, this link don't opened on activity browser...<br><br><br>_______________________________________________________<br>#!/usr/bin/python<br><br>import gtk<br>
<br>class PyApp(gtk.Dialog): <br> def __init__(self):<br> super(PyApp, self).__init__()<br> <br> self.set_size_request(350, 250)<br> self.set_position(gtk.WIN_POS_CENTER)<br> <br> self.connect("destroy", gtk.main_quit)<br>
<br> ref = gtk.LinkButton("<a href="http://www.google.com">http://www.google.com</a>", "google")<br><br> self.vbox.add(ref)<br> self.show_all()<br><br><br><br>PyApp()<br>gtk.main()<br>
<br>_______________________________________________________<br><br><br><br><div class="gmail_quote">2010/3/17 Simon Schampijer <span dir="ltr"><<a href="mailto:simon@schampijer.de">simon@schampijer.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On 03/17/2010 07:29 PM, Esteban Arias wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
I create gtk.linkbutton() on sugar 0.82, but this link don't opened with<br>
activity browser... how can i do?<br>
<br>
thanks<br>
</blockquote>
<br></div></div>
Hi Esteban,<br>
<br>
can you describe a bit more what you are trying to do?<br>
<br>
Did you read:<br>
<a href="http://www.moeraki.com/pygtktutorial/pygtk2reference/class-gtklinkbutton.html" target="_blank">http://www.moeraki.com/pygtktutorial/pygtk2reference/class-gtklinkbutton.html</a> ?<br>
<br>
Regards,<br><font color="#888888">
Simon<br>
</font></blockquote></div><br>