Re: Gtk::Text widget
- From: Stephen White <spwhite chariot net au>
- To: Derek Simkowiak <dereks kd-dev com>
- Cc: Mark Leisher <mleisher crl nmsu edu>, gtk-list gnome org
- Subject: Re: Gtk::Text widget
- Date: Fri, 21 Jul 2000 02:17:09 +0930 (CST)
On Wed, 19 Jul 2000, Derek Simkowiak wrote:
> I think of my widget as structured in layers, like in the Gimp.
> The bottom layer is the gapped text buffer, the next layer up are the
> "Style" spans (which are optimal for scanner-based syntax highlighting).
> The third layer up will be overlapping tags, in a tree structure, once
> I've had time to write it.
Would it be possible to have multiple "Styles" applied to spans for things
like being able to have tooltips on the text inside the box? Eg, to display
information about C structures when holding a mouse over the reference.
This would be a useful general purpose extension too. Eg, writing help
documentation which has pop-up help to explain jargon.
Using multiple spans would also allow right clicking on text to bring
up a menu associated with that bit of text without having to try and
calculate where the text is currently being displayed in the text
widget.
If you're not interested in adding this, please let me know how I would
be able to assist in this (unless you feel it wouldn't be of sufficient
general purpose value).
--
spwhite@chariot.net.au
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]