Re: hyperlink from text

From: Date: Thu, 21 Mar 2002 12:35:29 +0000
Subject: Re: hyperlink from text
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1612@lists.php.net to get a copy of this message
I did something like this (I think) for URL handling in Teak (teak.sf.net). In the widgets directory of the source have a look at TeakText.php. If you have any questions let me know. --rdp On Thu, 21 Mar 2002, Markus Fischer wrote: > There's no logic in PHP/GTK/PHP-GTK which does this. You can > emulate looking-like-links text by using styles. However, > when someone selects the text, you still would need to write > your own facility which sees where he clicked in the next, > etc. > > On Thu, Mar 21, 2002 at 01:27:38PM -0800, fire@firepages.org wrote : > > Hi, I was wondering how I would go about making part of the text in > > say a GtkText box clickable ? , I am playing with a newsreader in GTK > > and would like to create a link to each item within the headline (or > > part of the text body) itself rather than adding a button? any > > suggestions greatly appreciated. > > > > (I looked at GtkEvent but still have no clude how to isolate some text within it + I doubt > > that is possible anyway ?) > > > > regards, > > Simon Wheeler > > firepages. > > -- Rich Payne http://talisman.mv.com

« previous php.gtk.general (#1612) next »