[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Putting text with links in a TreeView
- From: Aristotle Pagaltzis <pagaltzis gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Putting text with links in a TreeView
- Date: Sun, 1 Jun 2008 09:04:25 +0200
* Torsten Schoenfeld <kaffeetisch gmx de> [2008-05-31 14:25]:
> Making text blue and underlined is no problem, I assume.
Of course not.
> I think you will have to use motion notify events: […] This
> [example code] will make the whole cell clickable.
Yeah, but that’s not worth much, as I can already do that in
simpler ways with the interface that the TreeView and ListStore
give me out of the box.
> There might be a way to only make the text inside the cell
> clickable via $cell_x and $cell_y, but I don't know how offhand
> -- I assume this won't be possible without a custom cell
> renderer, though.
More specifically it’s not just “the text inside the cell” I am
interested in – it is the *portions* of the text that look like
a link. (And then each such portion individually.)
So I guess what you are saying amounts to telling me that I need
to find out how SexyUrlLabel does it and then duplicate that
logic within a custom cell renderer. I feared that this would be
the answer. Oh well.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]