I think for this you need to add a textview inside of the button, then it's
easy to have a clickable link there as you can see in the pygtk-demo (run
"pygtk-demo" in a terminal to open it, then search for "Text Widget" ->
"Hypertext").

Cheers,
Giuseppe.


On Thu, Apr 14, 2011 at 2:46 AM, Jason Heeris <[email protected]>wrote:

> I have a label (actually a WrapLabel[1]) containing some warning text.
> I'd like for a couple of the words of the text to take on the
> appearance of a hyperlink which, when clicked, activate another widget
> in the app (a notebook tab). I can't figure out how to do this — I've
> looked at the LinkButton widget, but it's not something you can just
> insert into the flow of text (is it?).
>
> Is there some other way to do this?
>
> Cheers,
> Jason
>
> [1] From http://git.gnome.org/cgit/meld/tree/meld/ui/wraplabel.py
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to