Hi,
gtk.TextView and gtk.TextBuffer support hyperlinked text, the
hyperlink demo creates the links as blue and underlined as is done in
web browsers, but that does not appear to be neccessary. The demo
apps come with pygtk.
-CHris
On Thu, 10 Feb 2005 15:56:52 -0500, Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> On Thu, 10 Feb 2005 23:58:46 +0530, Saurabh Wagh <[EMAIL PROTECTED]> wrote:
>
> > Can anyone please guide me as to how should i go about , making any
> > text clickable in my interface, so that clicking on it further gets
> > itz details on to the interface.
>
> I don't understand the kind of information you're dealing with, but
> here are two solutions that come to mind:
>
> 1. A treeview widget, using expanders to get more information
> ("details"). You can even bind to the "expand" event so that you don't
> fetch more information until the user needs it.
> 2. A table widget that you put together programmatically. I'd use
> buttons for the clickable elements -- since buttons are what people
> expect anyway -- and then just use regular labels or text areas to
> display your information.
>
> Apologies if this is way off the mark. AFAIK, making a "link" that
> looks & feels like a web page link is not nearly as easy. The TreeView
> interface is very nice for most kinds of data.
>
> If it doesn't fit your data, I'd think you could do everything with
> "more info" buttons next to your initial data.
>
> Tom
> _______________________________________________
> pygtk mailing list [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
--
Christopher Lambacher
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/